aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/media/opengl.psh
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/media/opengl.psh
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/media/opengl.psh')
-rw-r--r--libraries/irrlicht-1.8/media/opengl.psh44
1 files changed, 22 insertions, 22 deletions
diff --git a/libraries/irrlicht-1.8/media/opengl.psh b/libraries/irrlicht-1.8/media/opengl.psh
index 9f9d03b..fa2de66 100644
--- a/libraries/irrlicht-1.8/media/opengl.psh
+++ b/libraries/irrlicht-1.8/media/opengl.psh
@@ -1,22 +1,22 @@
1!!ARBfp1.0 1!!ARBfp1.0
2# part of the Irrlicht Engine Shader example. 2# part of the Irrlicht Engine Shader example.
3# Please note that these example shaders don't do anything really useful. 3# Please note that these example shaders don't do anything really useful.
4# They only demonstrate that shaders can be used in Irrlicht. 4# They only demonstrate that shaders can be used in Irrlicht.
5 5
6#Input 6#Input
7ATTRIB inTexCoord = fragment.texcoord; # texture coordinates 7ATTRIB inTexCoord = fragment.texcoord; # texture coordinates
8ATTRIB inColor = fragment.color.primary; # interpolated diffuse color 8ATTRIB inColor = fragment.color.primary; # interpolated diffuse color
9 9
10#Output 10#Output
11OUTPUT outColor = result.color; 11OUTPUT outColor = result.color;
12 12
13TEMP texelColor; 13TEMP texelColor;
14TEMP tmp; 14TEMP tmp;
15TXP texelColor, inTexCoord, texture, 2D; 15TXP texelColor, inTexCoord, texture, 2D;
16 16
17ADD tmp, inColor, inColor; # mulitply with color 17ADD tmp, inColor, inColor; # mulitply with color
18MUL texelColor, texelColor, tmp; # mulitply with color 18MUL texelColor, texelColor, tmp; # mulitply with color
19ADD outColor, texelColor, texelColor; # make it brighter and store result 19ADD outColor, texelColor, texelColor; # make it brighter and store result
20 20
21END 21END
22 22