Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Day/Night cycle inside my custom OpenGL engine

Day/Night cycle inside my custom OpenGL engine

buzzelliart
buzzelliart
Antares Engine · · 1 min read
4,553 0

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.

Discussion

Loading comments...