Here we go.
Some info:
entSkin1 == texture
mtlSkin1 == projection texture (rgba, rgb == color, a == gamma&gradient (hdr))
targetmap == raw depth data from a light or view source
requires VS/PS 2.0
requires a GPU that supports zwriteenable for projective shadowing, see CAPPS
enjoy, -Michael Auerbach-
oh yeah,
I used TEXCOORD2 to overwrite the tangent flag in case someone set this.
Last edited by Foxfire; 08/18/08 21:31.
http://www.groundtacticsgame.com/Alienware m17x R Custom laptop
specs:
Intel Core 2 Extreme Quad CPU Q9300
2x Nvidia 280GTX 2GB vram
6GB ddr3 memory@ 1333Mhz
512GB SSD
1200p 17' screen
runs Crysis Warhead on max settings at 1200p at 90 fps