-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Fix disappearing terrain and sky #3032
Conversation
The easiest way to test the sky atmosphere is to set:
and rotate around one of the 3D models positioned on the ground. |
…ace of the ellipsoid.
When we fix this, can we also add a comment to SkyAtmosphereFS.glsl about the workaround/fix? |
Can we also change the default for |
Looks good. The only other issue is zoom to the dead sea and quickly use the middle mouse button to take a horizon view - the camera will start moving backwards. If this is not an easy fix, submit a new issue. |
…a is below the ellipsoid surface, switch to a ray sphere intersection test.
@pjcozzi This is ready for another look. The camera problem you mentioned is intentional. The camera slides over terrain when a collision is detected to prevent it from getting stuck. |
Do you get these test failures:
|
@@ -155,7 +155,7 @@ define([ | |||
* @type {Number} | |||
* @default 20.0 | |||
*/ | |||
this.minimumZoomDistance = 20.0; | |||
this.minimumZoomDistance = 1.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mention this in CHANGES.md.
Conflicts: CHANGES.md
@pjcozzi The tests are fixed. This is ready. |
Awesome. |
Fix disappearing terrain and sky
Fixes both #2271 and #2415.