New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White sky when zooming out (ShowMySky) #3351
Comments
I don't reproduce this. Please give more detailed instructions, the log, and possibly screenshots or a screencast. |
But looking too far down, yields a white, broken atmosphere: Looking even further towards the nadir, Stellarium gets incredibly slow (0.2 FPS). Disabling atmosphere gives normal FPS rates. Log: I fear this might be yet another AMD trouble? Edit: Hmmm. ShowMySky works fine (no mie scattering below horizon), using the CMS master. |
I had though this was solved by cmake/CPM magic: SMS not found on Windows. I had my SMS library from January. Is there a new version? Please add instructions to BUILDING.md. |
This is irrelevant to this issue. |
May well be.
Could you recompute the model via |
OK, I suppose it may be a problem with the GPU implementation of diff --git a/shaders/render.frag b/shaders/render.frag
index 7c264b6..5287267 100644
--- a/shaders/render.frag
+++ b/shaders/render.frag
@@ -125,7 +125,7 @@ void main()
// forward scattering peak. The second factor, with tanh, makes the
// transition near sunset from a bit above horizon to a bit below smoother.
pseudoMirrorDepth = sqr(max(0, dot(viewDir, sunDirection))) *
- tanh(150 * (newViewElev - horizElev) / (PI/2 - horizElev));
+ tanh(min(10, 150 * (newViewElev - horizElev) / (PI/2 - horizElev)));
}
CONST float cosSunZenithAngle =dot(zenith,sunDirection); |
(Note that to fully apply this patch, you need to regenerate the model.) |
I have never managed to build CMS from source (only used the stable releases or builds from Appveyor). Could you provide a binary? |
You can take an artifact from an AppVeyor build. Just apply the patch to the |
I'll push this fix, and the commit will close this issue. |
Hello @Atque! Please check the fresh version (development snapshot) of Stellarium: |
Hello @Atque! Please check the latest stable version of Stellarium: |
Using the latest master, the sky turns completely white using SMS and showing certain points of the sky. It appears the anti-solar point is broken. Using an older calculation of the sky textures, shows no problem.
Introduced by efa6b05?
Windows 10 64-bit
Qt 6.4.2
AMD Radeon RX 5700 XT
The text was updated successfully, but these errors were encountered: