irrlicht/media/opengl.frag

10 lines
171 B
GLSL
Raw Normal View History

uniform sampler2D myTexture;
void main (void)
{
vec4 col = texture2D(myTexture, vec2(gl_TexCoord[0]));
col *= gl_Color;
gl_FragColor = col * 4.0;
}