diff options
author | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
commit | f9158592e1478b2013afc7041d9ed041cf2d2f4a (patch) | |
tree | b16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8.1/media/opengl.frag | |
parent | Libraries readme updated with change markers and more of the Irrlicht changes. (diff) | |
download | SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2 SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz |
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8.1/media/opengl.frag | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/media/opengl.frag b/libraries/irrlicht-1.8.1/media/opengl.frag new file mode 100644 index 0000000..82c3d5c --- /dev/null +++ b/libraries/irrlicht-1.8.1/media/opengl.frag | |||
@@ -0,0 +1,9 @@ | |||
1 | |||
2 | uniform sampler2D myTexture; | ||
3 | |||
4 | void main (void) | ||
5 | { | ||
6 | vec4 col = texture2D(myTexture, vec2(gl_TexCoord[0])); | ||
7 | col *= gl_Color; | ||
8 | gl_FragColor = col * 4.0; | ||
9 | } | ||