SyndicatQuebecoisdelaConstr.../SQCSim2021/media/shaders/skybox.frag

13 lines
170 B
GLSL
Raw Normal View History

2021-10-12 15:58:54 -04:00
uniform sampler2D tex;
varying vec4 light;
void main()
{
vec4 texel;
texel = texture2D(tex,gl_TexCoord[0].st);
texel *= light;
gl_FragColor = texel;
}