Finally implemented proper day/night cycle inside my custom OpenGL render.
Now the engine can vary sun position according to hour and day of the year, and also according to the latitude, with a good approximation.
Finally implemented proper day/night cycle inside my custom OpenGL render.
Now the engine can vary sun position according to hour and day of the year, and also according to the latitude, with a good approximation.