diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/media/d3d8.psh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libraries/irrlicht-1.8/media/d3d8.psh b/libraries/irrlicht-1.8/media/d3d8.psh index d38a3d6..0d4e428 100644 --- a/libraries/irrlicht-1.8/media/d3d8.psh +++ b/libraries/irrlicht-1.8/media/d3d8.psh | |||
@@ -1,10 +1,10 @@ | |||
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 | mul_x2 t0, t0, v0 ; mulitply with color | 9 | mul_x2 t0, t0, v0 ; mulitply with color |
10 | add r0, t0, t0 ; make it brighter and store result | 10 | add r0, t0, t0 ; make it brighter and store result |