d3d9.psh 439 B

123456789101112
  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. ps.1.1
  6. tex t0 ; sample color map
  7. add r0, v0, v0 ; mulitply with color
  8. mul t0, t0, r0 ; mulitply with color
  9. add r0, t0, t0 ; make it brighter and store result