> By any chance, is this a bug when using atmospheric light scattering? Yes.
The issue you see is that real terrain is drawn out to some draw distance set by visibility and LOD range, and beyond what appears as fogged terrain is drawn by the skydome code. And the sun is set to be always visible on the skydome - so it becomes visible through skydome posing as terrain. I'm not quite sure, the same issue should also appear in the default rendering scheme then, although the colors are less dramatic, the default scheme retains a lot more red light for the sun below the horizon. The problem is that the sun (moon,...) code is outside ALS and doesn't seem to run via a shader, so I can't fix it. A related issue is the sun shining through overcast sky (fog becomes so dense that the clouds are faded, in essence looking up you see the skydome drawn in grey, and the sun is never fogged. The sun rendering would have to be made to respect the angle with the horizon and some fogging settings better in order to address this properly. A cheap 'fix', as you realized, is to draw terrain further out. * Thorsten ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel