aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/media/d3d9.psh
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 22:28:34 +1000
committerDavid Walter Seikel2016-03-28 22:28:34 +1000
commit7028cbe09c688437910a25623098762bf0fa592d (patch)
tree10b5af58277d9880380c2251f109325542c4e6eb /src/others/irrlicht-1.8.1/media/d3d9.psh
parentMove lemon to the src/others directory. (diff)
downloadSledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz
Move Irrlicht to src/others.
Diffstat (limited to 'src/others/irrlicht-1.8.1/media/d3d9.psh')
-rw-r--r--src/others/irrlicht-1.8.1/media/d3d9.psh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/media/d3d9.psh b/src/others/irrlicht-1.8.1/media/d3d9.psh
new file mode 100644
index 0000000..8286eb8
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/media/d3d9.psh
@@ -0,0 +1,11 @@
1; part of the Irrlicht Engine Shader example.
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.
4; They only demonstrate that shaders can be used in Irrlicht.
5
6ps.1.1
7
8tex t0 ; sample color map
9add r0, v0, v0 ; mulitply with color
10mul t0, t0, r0 ; mulitply with color
11add r0, t0, t0 ; make it brighter and store result