Sunlight Calculator
Latitude
Longitude

X Y Z

This is a simple tool to help you align your sunlight (or moonlight) with your sun (or moon).

Simply enter the Latitude and Longitude of your celestial object into the top two boxes, and then press the calculate button to find out the values you need to use for the Sunlight Direction field in the Editors->Mission Parameters->Rendering Parameters window.