Skip to content

Commit

Permalink
BoundingGrid: Fixes for Material.depthTest API change
Browse files Browse the repository at this point in the history
  • Loading branch information
skalarproduktraum committed Apr 18, 2024
1 parent 118fc84 commit ce6dac2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/graphics/scenery/BoundingGrid.kt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ open class BoundingGrid : Mesh("Bounding Grid"), RenderingOrder {
} else {
cullingMode = Material.CullingMode.Back
}
depthTest = Material.DepthTest.LessEqual
depthTest = true
depthOp = Material.DepthTest.LessEqual
}

labels = hashMapOf(
Expand Down

0 comments on commit ce6dac2

Please sign in to comment.