aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/media/opengl.frag
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 22:28:34 +1000
committerDavid Walter Seikel2016-03-28 22:28:34 +1000
commit7028cbe09c688437910a25623098762bf0fa592d (patch)
tree10b5af58277d9880380c2251f109325542c4e6eb /src/others/irrlicht-1.8.1/media/opengl.frag
parentMove lemon to the src/others directory. (diff)
downloadSledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz
Move Irrlicht to src/others.
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}