From 7028cbe09c688437910a25623098762bf0fa592d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 28 Mar 2016 22:28:34 +1000 Subject: Move Irrlicht to src/others. --- src/others/irrlicht-1.8.1/media/opengl.frag | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/others/irrlicht-1.8.1/media/opengl.frag (limited to 'src/others/irrlicht-1.8.1/media/opengl.frag') 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 @@ + +uniform sampler2D myTexture; + +void main (void) +{ + vec4 col = texture2D(myTexture, vec2(gl_TexCoord[0])); + col *= gl_Color; + gl_FragColor = col * 4.0; +} -- cgit v1.1