forked from Mirrorlandia_minetest/irrlicht
e9c494503d
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6518 dfc29bdd-3216-0410-991c-e03cc46cb475
12 lines
225 B
GLSL
12 lines
225 B
GLSL
|
|
uniform sampler2D myTexture;
|
|
uniform vec4 mEmissive;
|
|
|
|
void main (void)
|
|
{
|
|
vec4 col = texture2D(myTexture, vec2(gl_TexCoord[0]));
|
|
col *= gl_Color;
|
|
gl_FragColor = col * 4.0;
|
|
gl_FragColor += mEmissive;
|
|
}
|