mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 11:24:56 -04:00
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:
parent
7408018f09
commit
190e2729cd
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user