mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-14 09:56:37 -04:00
arm render: enable face culling
Looks pretty shitty otherwise
This commit is contained in:
parent
095b537578
commit
f22935b5f1
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Minosoft
|
* Minosoft
|
||||||
* Copyright (C) 2020-2024 Moritz Zwerger
|
* Copyright (C) 2020-2025 Moritz Zwerger
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
@ -90,7 +90,7 @@ class ArmRenderer(override val context: RenderContext) : Renderer, Drawable {
|
|||||||
|
|
||||||
context.system.clear(IntegratedBufferTypes.DEPTH_BUFFER)
|
context.system.clear(IntegratedBufferTypes.DEPTH_BUFFER)
|
||||||
|
|
||||||
context.system.reset(faceCulling = false, depthTest = true, blending = true, depthMask = true)
|
context.system.reset(faceCulling = true, depthTest = true, blending = true, depthMask = true)
|
||||||
|
|
||||||
shader.use()
|
shader.use()
|
||||||
shader.skinParts = renderer.model?.skinParts ?: 0xFF
|
shader.skinParts = renderer.model?.skinParts ?: 0xFF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user