0
votes
0answers
81 views

How to move a directional light according to the camera movement?

Given a light direction, how can I move it according to the camera movement, in a shader? Think that an artist has setup a scene (e.g., in 3DSMax) with a mesh in center of that and a directional ...