Sha256: 79b4b52d7c8d4566ca78cff56fc64ddd838d4bd8d49afe6100393c707b04346d

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

#version 110

uniform sampler2D in_Texture;
uniform bool in_TextureEnabled;

varying vec4 var_Color;
varying vec2 var_TexCoord;

void main() {
  if (in_TextureEnabled)
    gl_FragColor = texture2D(in_Texture, var_TexCoord) * var_Color;
  else
    gl_FragColor = var_Color;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ray-0.2.1 test/res/frag.c
ray-0.2.0 test/res/frag.c
ray-0.1.1 test/res/frag.c
ray-0.1.0 test/res/frag.c