mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
more descriptive name for the blend-normal function because why there are two fucking standards for an alpha channel
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user