Skip to content

Commit 6d02388

Browse files
Merge pull request #12385 from CesiumGS/depth-plane-precision
Fix intermittent z-fighting issue in DepthPlaneVS
2 parents 3055909 + 546e7a6 commit 6d02388

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
##### Fixes :wrench:
66

77
- Fixed JulianDate to always generate valid ISO strings for fractional milliseconds [#12345](https://github.com/CesiumGS/cesium/pull/12345)
8+
- Fixed intermittent z-fighting issue. [#12337](https://github.com/CesiumGS/cesium/issues/12337)
89

910
### 1.124 - 2024-12-02
1011

packages/engine/Source/Shaders/DepthPlaneVS.glsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ out vec4 positionEC;
55
void main()
66
{
77
positionEC = czm_modelView * position;
8-
gl_Position = czm_modelViewProjection * position;
8+
gl_Position = czm_projection * positionEC;
99

1010
czm_vertexLogDepth();
1111
}

0 commit comments

Comments
 (0)