Skip to content

Commit 546e7a6

Browse files
author
Jeshurun Hembd
committed
Fix precision issue in DepthPlaneVS
1 parent 3055909 commit 546e7a6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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)