2021-10-11 11:37:58 -04:00
|
|
|
uniform sampler2D tex;
|
|
|
|
varying vec4 light;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
vec4 texel;
|
|
|
|
texel = texture2D(tex,gl_TexCoord[0].st);
|
|
|
|
|
|
|
|
texel *= light;
|
2023-10-04 15:01:48 -04:00
|
|
|
texel.a = 255.;
|
2021-10-11 11:37:58 -04:00
|
|
|
gl_FragColor = texel;
|
2021-11-30 19:55:11 -05:00
|
|
|
|
2021-10-11 11:37:58 -04:00
|
|
|
}
|