diff --git a/CHANGES.md b/CHANGES.md index b30d43978da..2e065a5c24d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ - Fixed an issue where the camera zooming is stuck when looking up. [#9126](https://github.com/CesiumGS/cesium/pull/9126) - Fixed an issue where Plane doesn't rotate correctly around the main local axis. [#8268](https://github.com/CesiumGS/cesium/issues/8268) +- Fixed an issue where ground primitives would get clipped at certain camera angles. [#9114](https://github.com/CesiumGS/cesium/issues/9114) ### 1.73 - 2020-09-01 diff --git a/Source/Scene/View.js b/Source/Scene/View.js index 28e38a188e6..31d1bb60e2f 100644 --- a/Source/Scene/View.js +++ b/Source/Scene/View.js @@ -126,6 +126,9 @@ function updateFrustums(view, scene, near, far) { var is2D = scene.mode === SceneMode.SCENE2D; var nearToFarDistance2D = scene.nearToFarDistance2D; + // Extend the far plane slightly further to prevent geometry clipping against the far plane. + far *= 1.0 + CesiumMath.EPSILON2; + // The computed near plane must be between the user defined near and far planes. // The computed far plane must between the user defined far and computed near. // This will handle the case where the computed near plane is further than the user defined far plane.