Skip to content

Commit ce6dac2

Browse files
BoundingGrid: Fixes for Material.depthTest API change
1 parent 118fc84 commit ce6dac2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/graphics/scenery/BoundingGrid.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ open class BoundingGrid : Mesh("Bounding Grid"), RenderingOrder {
102102
} else {
103103
cullingMode = Material.CullingMode.Back
104104
}
105-
depthTest = Material.DepthTest.LessEqual
105+
depthTest = true
106+
depthOp = Material.DepthTest.LessEqual
106107
}
107108

108109
labels = hashMapOf(

0 commit comments

Comments
 (0)