PDA

View Full Version : Receive light position in the fragment program



Fynch
07-01-2005, 04:48 AM
Hi
I need to know the light position, in the fragment program. The problem is that actually, all my coordinates are between 0 and 1 (object space) and I don't know how I could receive correctly the light position.
Thanks