more random dither tex

This commit is contained in:
minjaesong
2021-10-11 19:31:39 +09:00
parent 8dbedd270e
commit cdd09e71a5
14 changed files with 55 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ class UIFakeGradOverlay : UICanvas() {
val dither = App.getConfigBoolean("fx_dither")
if (dither) {
IngameRenderer.ditherPattern.bind(1)
App.getCurrentDitherTex().bind(1)
Gdx.gl.glActiveTexture(GL20.GL_TEXTURE0) // so that batch that comes next will bind any tex to it
}