render settings: use LESS_OR_EQUAL as default depth function

Now grass side overlays are drawn properly again and transparent does not need to be drawn before opaque
This commit is contained in:
Moritz Zwerger 2023-07-26 02:10:04 +02:00
parent 7408018f09
commit 190e2729cd
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -28,7 +28,7 @@ data class RenderSettings(
val destinationRGB: BlendingFunctions = BlendingFunctions.ONE_MINUS_SOURCE_ALPHA,
val sourceAlpha: BlendingFunctions = BlendingFunctions.ONE,
val destinationAlpha: BlendingFunctions = BlendingFunctions.ZERO,
val depth: DepthFunctions = DepthFunctions.LESS,
val depth: DepthFunctions = DepthFunctions.LESS_OR_EQUAL,
val clearColor: RGBColor = Colors.TRANSPARENT,
val polygonOffsetFactor: Float = 0.0f,
val polygonOffsetUnit: Float = 0.0f,