File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ import Axis from './Axis.js';
57
57
import BlendingState from './BlendingState.js' ;
58
58
import ClippingPlaneCollection from './ClippingPlaneCollection.js' ;
59
59
import ColorBlendMode from './ColorBlendMode.js' ;
60
+ import DepthFunction from './DepthFunction.js' ;
60
61
import DracoLoader from './DracoLoader.js' ;
61
62
import getClipAndStyleCode from './getClipAndStyleCode.js' ;
62
63
import getClippingFunction from './getClippingFunction.js' ;
@@ -3011,7 +3012,7 @@ import ShadowMode from './ShadowMode.js';
3011
3012
} ,
3012
3013
depthTest : {
3013
3014
enabled : true ,
3014
- func : WebGLConstants . LEQUAL
3015
+ func : DepthFunction . LESS_OR_EQUAL
3015
3016
} ,
3016
3017
depthMask : ! blendingEnabled ,
3017
3018
blending : {
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import { DracoLoader } from '../../Source/Cesium.js';
32
32
import { HeightReference } from '../../Source/Cesium.js' ;
33
33
import { Model } from '../../Source/Cesium.js' ;
34
34
import { ModelAnimationLoop } from '../../Source/Cesium.js' ;
35
+ import { DepthFunction } from '../../Source/Cesium.js' ;
35
36
import createScene from '../createScene.js' ;
36
37
import pollToPromise from '../pollToPromise.js' ;
37
38
import { when } from '../../Source/Cesium.js' ;
@@ -522,7 +523,8 @@ describe('Scene/Model', function() {
522
523
enabled : true
523
524
} ,
524
525
depthTest : {
525
- enabled : true
526
+ enabled : true ,
527
+ func : DepthFunction . LESS_OR_EQUAL
526
528
} ,
527
529
depthMask : true ,
528
530
blending : {
You can’t perform that action at this time.
0 commit comments