closing issue #39

This commit is contained in:
minjaesong
2021-07-29 12:56:25 +09:00
parent e19187eea9
commit 26ee7498e2
4 changed files with 15 additions and 13 deletions

View File

@@ -439,6 +439,11 @@ fun gdxSetBlendNormal() {
// - https://www.andersriggelsen.dk/glblendfunc.php
}
fun gdxSetBlendMul() {
gdxSetBlend()
Gdx.gl.glBlendFunc(GL20.GL_DST_COLOR, GL20.GL_ONE_MINUS_SRC_ALPHA)
}
object BlendMode {
const val SCREEN = "screen"
const val MULTIPLY = "multiply"