Quote:
Originally Posted by UBOOT_fan
Also I would be grateful someone to explain me exactly what do mean those degrees 90/60/45/15/10/2 and the negative ones.
|
The numbers are the angle of the light source (sunlight) to the center of the 3D scene.
90 means the sun is around
90 degrees above you = noon.
Quote:
I understood that the negative values are for nights only.
|
Correct, negative values are for night times, the light source is below the horizon.
Quote:
If so why for the night are just 3 angles section only ?
|
Because in this 3D engine it makes no more difference whether the light source is now
-15 degrees or
-60 degrees below the horizon, from
-15 degrees the values for SkyTopColor/SkyBottomColor are always
00000000 = black
The 3D engine interpolates the sky color from top (above) to bottom (horizon) between the hex color values SkyTopColor and SkyBottomColor