fixed a bug with canvas texture blending

This commit is contained in:
minjaesong
2022-02-28 23:53:42 +09:00
parent 13003a63d3
commit 7e90387afc
5 changed files with 11 additions and 14 deletions

View File

@@ -350,8 +350,8 @@ inline fun FrameBuffer.inActionF(camera: OrthographicCamera?, batch: SpriteBatch
private val rgbMultLUT = Array(256) { y -> IntArray(256) { x ->
val i = (x % 256) / 255f
val j = (y / 256) / 255f
val i = x / 255f
val j = y / 255f
(i * j).times(255f).roundToInt()
} }