XRay3D/test/shader/render1.frag

9 lines
169 B
GLSL
Raw Normal View History

2020-04-17 18:11:57 +02:00
uniform sampler2D texture;
varying float lum;
void main()
{
//gl_FragColor = texture2D(texture, vec2(gl_TexCoord[0])) * lum;
gl_FragColor = vec4(lum, lum, lum, 0);
}