Real sun positions for a given time in unity3d
<p>I am developing a components that determines how long hour the surfaces are in shadow throughout the year. For this purpose I need to calculate real sun's position for a given specific time and move the sun to this position. How can I achieve this task in unity3d? There are some codes like in the attaching link that calculates the sun's position for a specific time. Is it usable in unity3d and How can I implement this in unity3d? Thanks for answers <a href="http://guideving.blogspot.com.tr/2010/08/sun-position-in-c.html" rel="nofollow">sun position in csharp</a></p>