chunk borders: disable polygon offset again

* You could see weird artifacts
This commit is contained in:
Bixilon 2022-08-29 09:20:00 +02:00
parent f5c6fe8304
commit ef04e2d31b
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -186,7 +186,7 @@ class ChunkBorderRenderer(
}
override fun setupOpaque() {
renderWindow.renderSystem.reset(faceCulling = false, polygonOffset = true, polygonOffsetFactor = -2.0f, polygonOffsetUnit = -2.0f)
renderWindow.renderSystem.reset(faceCulling = false)
renderWindow.shaderManager.genericColorShader.use()
}