Page 1 of 1

aligning directional lighting with the sun

Posted: Fri Oct 24, 2014 9:43 pm
by MileHighGuy
Is there a way to align the directional lighting in the map with the sun in the .sky file? Do I have to eyeball it? Use trigonometry? Copy and Paste?

Re: aligning directional lighting with the sun

Posted: Fri Oct 24, 2014 11:59 pm
by Marth8880
Set the sun's position first, look at where it is in-game, and then set the directional light.

Re: aligning directional lighting with the sun

Posted: Sat Oct 25, 2014 12:06 am
by MileHighGuy
so eyeballing it is then.. I was just hoping for a more accurate way..

Re: aligning directional lighting with the sun

Posted: Sat Oct 25, 2014 12:38 pm
by AQT
A more accurate way would be to set the sun's position and then go in-game. Find where the sun is, and make sure your unit is directly facing the sun. Then rotate your unit 180 degrees such that your unit's backside is parallel to the sun. Bring up the minimap display, and take a screenshot for reference. You now know in which direction your directional lighting has to point in relation to North based on your unit's arrow.