aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/media/opengl.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/media/opengl.frag')
-rw-r--r--src/others/irrlicht-1.8.1/media/opengl.frag9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/media/opengl.frag b/src/others/irrlicht-1.8.1/media/opengl.frag
new file mode 100644
index 0000000..82c3d5c
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/media/opengl.frag
@@ -0,0 +1,9 @@
1
2uniform sampler2D myTexture;
3
4void main (void)
5{
6 vec4 col = texture2D(myTexture, vec2(gl_TexCoord[0]));
7 col *= gl_Color;
8 gl_FragColor = col * 4.0;
9}