I'm trying to make a specular map with l3dt. When making a light map, it asks for sun direction and elevation in degrees. How can I translate spring's sun direction values into this format?
The map's SunDir=0.008 0.556 -0.444 (taken directly from SSB)
Thanks!
Sun direction question
Moderator: Moderators
Re: Sun direction question
Sundir in spring is a vector of X Y Z.
If you look at the map in the TA camera (default) left is -X, right is +X up is Y, down is -Y, backwards is -Z and forwards is Z.
If you look at the map in the TA camera (default) left is -X, right is +X up is Y, down is -Y, backwards is -Z and forwards is Z.
Re: Sun direction question
Off to refresh my trigonometry... thanks!