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 May 16, 2024
1 parent 4a19999 commit dca253a
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 dca253a

Please sign in to comment.