~baltix/+junk/irrlicht-test

« back to all changes in this revision

Viewing changes to media/d3d8.psh

  • Committer: Mantas Kriaučiūnas
  • Date: 2011-07-18 13:06:25 UTC
  • Revision ID: mantas@akl.lt-20110718130625-c5pvifp61e7kj1ol
Included whole irrlicht SVN libraries to work around launchpad recipe issue with quilt, see https://answers.launchpad.net/launchpad/+question/165193

Show diffs side-by-side

added added

removed removed

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