Would a simple LOD system be useful?
Thorsten wrote in Fri Jan 13, 2012 1:15 pm:...just to make nice screenshots
Actually it's not enough to just take the altitude. What you need for proper coloring is the angle between the horizon and the sun at that particular altitude. That's how the current code (based on the viewer location) also works.
Cloud coloring: Actually the color of light reaching you changes quite rapidly when increasing altitude at sunset. Take of from an airport and observe the sun color and you'll see what I mean. So the color change is not linear and only using 2 points for interpolation probably will not be correct.
1) The earth is not a perfect sphere (ellipsoid, thicker at the equator), so the path distance of the light rays will differ depending on latitude.
2) The thickness of the atmosphere varies. It is thickest around the equator and thinnest around the poles. Since the difference is up to 10 or more kilometers this will have an impact on scattering. So both of these effects should have an influence on the amount of scattering depending on the viewers latitude.
Users browsing this forum: No registered users and 0 guests