Skip to content

Commit 3d471fd

Browse files
committed
add CESIUM_3D_TILE pass to clear command
1 parent a7e34c1 commit 3d471fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Source/Scene/Cesium3DTileset.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ define([
2727
'../Core/RequestScheduler',
2828
'../Core/RequestType',
2929
'../Renderer/ClearCommand',
30+
'../Renderer/Pass',
3031
'../ThirdParty/Uri',
3132
'../ThirdParty/when',
3233
'./Axis',
@@ -74,6 +75,7 @@ define([
7475
RequestScheduler,
7576
RequestType,
7677
ClearCommand,
78+
Pass,
7779
Uri,
7880
when,
7981
Axis,
@@ -1873,7 +1875,8 @@ define([
18731875
}
18741876

18751877
var stencilClearCommand = new ClearCommand({
1876-
stencil : 0
1878+
stencil : 0,
1879+
pass : Pass.CESIUM_3D_TILE
18771880
});
18781881

18791882
function updateTiles(tileset, frameState) {

0 commit comments

Comments
 (0)