diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-07-27 22:30:46 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-07-27 22:30:46 +0200 |
| commit | 94648e1eb81f50e31b84ce25a464d99cafa259d5 (patch) | |
| tree | 52d3472be9c828f6443eb2b4209159bdd03ddd11 /src/main/kotlin/util/render/RenderInWorldContext.kt | |
| parent | ba74103dbb7d13f57306e336713a5cd90859b642 (diff) | |
| download | Firmament-94648e1eb81f50e31b84ce25a464d99cafa259d5.tar.gz Firmament-94648e1eb81f50e31b84ce25a464d99cafa259d5.tar.bz2 Firmament-94648e1eb81f50e31b84ce25a464d99cafa259d5.zip | |
fix: translucent tris not being sorted in renderinwordlcontext
Diffstat (limited to 'src/main/kotlin/util/render/RenderInWorldContext.kt')
| -rw-r--r-- | src/main/kotlin/util/render/RenderInWorldContext.kt | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/kotlin/util/render/RenderInWorldContext.kt b/src/main/kotlin/util/render/RenderInWorldContext.kt index 2f665f2..29a387b 100644 --- a/src/main/kotlin/util/render/RenderInWorldContext.kt +++ b/src/main/kotlin/util/render/RenderInWorldContext.kt @@ -230,12 +230,6 @@ class RenderInWorldContext private constructor( fun renderInWorld(event: WorldRenderLastEvent, block: RenderInWorldContext. () -> Unit) { - // TODO: there should be *no more global state*. the only thing we should be doing is render layers. that includes settings like culling, blending, shader color, and depth testing - // For now i will let these functions remain, but this needs to go before i do a full (non-beta) release -// RenderSystem.disableDepthTest() -// RenderSystem.enableBlend() -// RenderSystem.defaultBlendFunc() -// RenderSystem.disableCull() event.matrices.push() event.matrices.translate(-event.camera.pos.x, -event.camera.pos.y, -event.camera.pos.z) |
