diff options
author | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
commit | 959831f4ef5a3e797f576c3de08cd65032c997ad (patch) | |
tree | e7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/media/d3d9.psh | |
parent | Add info about changes to Irrlicht. (diff) | |
download | SledjHamr-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/d3d9.psh')
-rw-r--r-- | libraries/irrlicht-1.8/media/d3d9.psh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libraries/irrlicht-1.8/media/d3d9.psh b/libraries/irrlicht-1.8/media/d3d9.psh index 8286eb8..66cd4f6 100644 --- a/libraries/irrlicht-1.8/media/d3d9.psh +++ b/libraries/irrlicht-1.8/media/d3d9.psh | |||
@@ -1,11 +1,11 @@ | |||
1 | ; part of the Irrlicht Engine Shader example. | 1 | ; part of the Irrlicht Engine Shader example. |
2 | ; This simple Direct3D9 pixel shader will be loaded by the engine. | 2 | ; This simple Direct3D9 pixel shader will be loaded by the engine. |
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 | ps.1.1 | 6 | ps.1.1 |
7 | 7 | ||
8 | tex t0 ; sample color map | 8 | tex t0 ; sample color map |
9 | add r0, v0, v0 ; mulitply with color | 9 | add r0, v0, v0 ; mulitply with color |
10 | mul t0, t0, r0 ; mulitply with color | 10 | mul t0, t0, r0 ; mulitply with color |
11 | add r0, t0, t0 ; make it brighter and store result | 11 | add r0, t0, t0 ; make it brighter and store result |