Rendering/DayNight
Jump to navigation
Jump to search
In World of Warcraft, the DayNight system governs most of the general appearance of the world. Things like area lighting, zone lighting, clouds, the sky sphere, stars (ie sky boxes), and so on are all managed by DayNight.
DayNight::SetDirection
DayNight::SetDirection calculates a C3Vector containing the direction for the global light, aka sunDir.