summaryrefslogtreecommitdiff
path: root/media/d3d8.psh
diff options
context:
space:
mode:
Diffstat (limited to 'media/d3d8.psh')
-rw-r--r--media/d3d8.psh10
1 files changed, 10 insertions, 0 deletions
diff --git a/media/d3d8.psh b/media/d3d8.psh
new file mode 100644
index 0000000..d38a3d6
--- /dev/null
+++ b/media/d3d8.psh
@@ -0,0 +1,10 @@
+; part of the Irrlicht Engine Shader example.
+; This simple Direct3D9 pixel shader will be loaded by the engine.
+; Please note that these example shaders don't do anything really useful.
+; They only demonstrate that shaders can be used in Irrlicht.
+
+ps.1.1
+
+tex t0 ; sample color map
+mul_x2 t0, t0, v0 ; mulitply with color
+add r0, t0, t0 ; make it brighter and store result