summaryrefslogtreecommitdiff
path: root/media/d3d9.psh
diff options
context:
space:
mode:
authorMirrorbot <mirrorbot@cogarr.net>2025-12-27 17:53:06 -0600
committerMirrorbot <mirrorbot@cogarr.net>2025-12-27 17:53:06 -0600
commit71e94ee161447b84c0eaabf6567f8fa62262cd3e (patch)
tree391064cc6173a6fe75069af2fdc1978af12f623e /media/d3d9.psh
downloadirrlicht-master.tar.gz
irrlicht-master.tar.bz2
irrlicht-master.zip
Inital commitHEADmaster
Diffstat (limited to 'media/d3d9.psh')
-rw-r--r--media/d3d9.psh11
1 files changed, 11 insertions, 0 deletions
diff --git a/media/d3d9.psh b/media/d3d9.psh
new file mode 100644
index 0000000..8286eb8
--- /dev/null
+++ b/media/d3d9.psh
@@ -0,0 +1,11 @@
+; 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
+add r0, v0, v0 ; mulitply with color
+mul t0, t0, r0 ; mulitply with color
+add r0, t0, t0 ; make it brighter and store result