SQCSimulator2023/SQCSim2021/media/shaders/shader01.frag
2023-11-20 15:02:02 -05:00

14 lines
177 B
GLSL

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