/d/Programme/Orbiter/> $ git clone https://github.com/orbitersim/orbiter.git ./WTF/
/d/Programme/Orbiter/> $ cd WTF/
/d/Programme/Orbiter/WTF/> $ git checkout --track origin/d3d9_atmosphere_remake

Glare.hlsl result in a division by zero? And what would the GPU do then?float ilerp(float a, float b, float x)
{
return saturate((x - a) / (b - a));
}
I can confirm, I can now run with "sun glare" enabled!Fix for the problem above have been uploaded. This is the first time we are using a texture lookup in vertex shader and the CTD was due to incorrectly configured texture sampler.
d3d9_atmosphere_remake that is)The flickering is still present here (onAlso tested the "noise flicker/flashes" issue and doesn't seem to occur on Intel HD Graphics 4000
d3d9_atmosphere_remake), but that is nothing I would have expected to be fixed That problem is really a mystery. But anyway you can disable "dynamic ambient light" feature and it should remove the problem.The flickering is still present here (ond3d9_atmosphere_remake), but that is nothing I would have expected to be fixed![]()
d3d9_atmosphere_remake that should be addressed before merge ? I have no more issues on my list.Indeed, it does!That problem is really a mystery. But anyway you can disable "dynamic ambient light" feature and it should remove the problem.
I've run a few scenarios and it seems to be pretty fine!Are there any major issues with thed3d9_atmosphere_remakethat should be addressed before merge ? I have no more issues on my list.
D3D9Mars_A.dds, D3D9Mars_B.dds, D3D9Moon_A.dds, D3D9Moon_B.dds, D3D9Moon_C.dds & D3D9Moon_C2.ddsDid you forget MicroTex.cfg file ?Although I think the micro-textures on the moon do not show up here.
All needed .dds files are in Textures folder[*], so that should be O.K. Have I missed a switch in the options dialog?
There is one small glitch I noticed: The D3D9 Atmospheric Controls dialog doesn't allow me to switch between Surface / Low orbit / High orbit configurations on the Moon (scenario Delta-glider | Brighton beach). It always shows the Surface configuration. It works fine for Earth and Mars.
I noticed this because I wanted to edit my configurations for the Moon. Similar to what I reported earlier for Earth, there seems to be a very pronounced and very rapid change in albedo for the Moon, from very brightly lit with the camera close to the surface, to very dark at about 10km altitude and above.
This issue should be fixed now. It was a micro texture problem.In case it helps, this is what I am seeing (left at 3.5km altitude, right at 10km):