I'd like to implement gobo lights (light texture projection) and for that I need a matrix that can translate the world position of a pixel into a texture mapping coordinate of the gobo texture.
So what would be a way to get the shadowmatrix from the spotlight, even if theres no shadow map attached?
How do I get a shadowmatrix for a spotlight?
-
- Goblin
- Posts: 253
- Joined: Sat Sep 28, 2013 3:46 pm
- x 10