more descriptive name for the blend-normal function because why there are two fucking standards for an alpha channel

This commit is contained in:
minjaesong
2022-10-31 01:52:40 +09:00
parent ccef7c32a0
commit 474279aefe
42 changed files with 122 additions and 108 deletions

View File

@@ -55,7 +55,7 @@ class UIFakeGradOverlay : UICanvas() {
blendMul(batch)
batch.draw(tex, 0f, 0f, App.scr.wf, App.scr.hf)
blendNormal(batch)
blendNormalStraightAlpha(batch)
}
override fun doOpening(delta: Float) {}
@@ -90,7 +90,7 @@ class UIFakeBlurOverlay(val blurRadius: Float, val nodarken: Boolean) : UICanvas
batch.color = darken
Toolkit.fillArea(batch, 0, 0, width, height)
blendNormal(batch)
blendNormalStraightAlpha(batch)
}
}