SyndicatQuebecoisdelaConstr.../SQCSim2021/media/shaders/shader01.frag
MarcEricMartel 97ffc34e24 ÇA SAVE
2021-11-30 19:55:11 -05:00

14 lines
191 B
GLSL

uniform sampler2D tex;
varying vec4 light;
void main()
{
vec4 texel;
texel = texture2D(tex,gl_TexCoord[0].st);
texel *= light;
texel.a = 255;
gl_FragColor = texel;
}