How can I calculate the position of the sun in accordance with the current time and position on the earth? I am currently adding light sources to the Augmented Reality platform on Android, and it would be great to know where to set the “sun”. I think there are many factors, but now I think that getting close will be enough.
source
share