]> git.lizzy.rs Git - irrlicht.git/blob - media/d3d9.psh
Merging r5975 through r6036 from trunk to ogl-es branch.
[irrlicht.git] / media / d3d9.psh
1 ; part of the Irrlicht Engine Shader example.\r
2 ; This simple Direct3D9 pixel shader will be loaded by the engine.\r
3 ; Please note that these example shaders don't do anything really useful. \r
4 ; They only demonstrate that shaders can be used in Irrlicht.\r
5 \r
6 ps.1.1\r
7 \r
8 tex t0             ; sample color map\r
9 add r0, v0, v0  ; mulitply with color\r
10 mul t0, t0, r0  ; mulitply with color\r
11 add r0, t0, t0     ; make it brighter and store result\r