How to get directional light position on screen space

i was reading nvidias gpu gems about faking god rays by doing some radial blur with the depth texture. but i need to find if the light source’s screen space positions to apply radial blur. searched about it but no answers so far.

1 Like