Skip to content

Commit 6ec546b

Browse files
authored
Merge pull request #8368 from AnalyticalGraphicsInc/revert-separate-primitive-framebuffer
Revert separate primitive framebuffer
2 parents 3f6ce5f + 950226e commit 6ec546b

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 @@ Change Log
55

66
##### Fixes :wrench:
77
* Fixed regression in 1.63 where ground atmosphere and labels rendered incorrectly on displays with `window.devicePixelRatio` greater than 1.0. [#8351](https://github.com/AnalyticalGraphicsInc/cesium/pull/8351)
8+
* Fixed regression in 1.63 where some primitives would show through the globe when log depth is disabled. [#8368](https://github.com/AnalyticalGraphicsInc/cesium/pull/8368)
89

910
### 1.63 - 2019-11-01
1011

Source/Scene/Scene.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2198,7 +2198,7 @@ import View from './View.js';
21982198

21992199
var clearGlobeDepth = environmentState.clearGlobeDepth;
22002200
var useDepthPlane = environmentState.useDepthPlane;
2201-
var separatePrimitiveFramebuffer = environmentState.separatePrimitiveFramebuffer = (numFrustums > 1) && clearGlobeDepth && environmentState.useGlobeDepthFramebuffer;
2201+
var separatePrimitiveFramebuffer = environmentState.separatePrimitiveFramebuffer = false;
22022202
var clearDepth = scene._depthClearCommand;
22032203
var clearStencil = scene._stencilClearCommand;
22042204
var clearClassificationStencil = scene._classificationStencilClearCommand;

0 commit comments

Comments
 (0)