aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/media/opengl.frag
blob: 82c3d5c91b1ddf77a3f5d602341f5e9cc1ea933a (plain)
1
2
3
4
5
6
7
8
9

uniform sampler2D myTexture;

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