Sign in to follow this  
f001error

Moving Directional Light's not working in DX

Recommended Posts

G'day I'm trying to set up a moving directional light that just cycles between (0,1,1) and (0,-1,1). I've got the vector calculations working fine, and the _D3DLIGHT9 structure is being updated properly but the light doesn't appear to move. I also tried calling SetLight() each time I update the vector, but that doesn't seem to change anything either. Any ideas ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this