aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/media/opengl.frag
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:24:39 +1000
committerDavid Walter Seikel2013-01-13 17:24:39 +1000
commit393b5cd1dc438872af89d334ef6e5fcc59f27d47 (patch)
tree6a14521219942a08a1b95cb2f5a923a9edd60f63 /libraries/irrlicht-1.8/media/opengl.frag
parentAdd a note about rasters suggested start up code. (diff)
downloadSledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.zip
SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.gz
SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.bz2
SledjHamr-393b5cd1dc438872af89d334ef6e5fcc59f27d47.tar.xz
Added Irrlicht 1.8, but without all the Windows binaries.
Diffstat (limited to 'libraries/irrlicht-1.8/media/opengl.frag')
-rw-r--r--libraries/irrlicht-1.8/media/opengl.frag9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/media/opengl.frag b/libraries/irrlicht-1.8/media/opengl.frag
new file mode 100644
index 0000000..82c3d5c
--- /dev/null
+++ b/libraries/irrlicht-1.8/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}