mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 20:14:05 +09:00
music player widget as a separate module
This commit is contained in:
@@ -472,6 +472,11 @@ fun blendMul(batch: SpriteBatch) {
|
||||
batch.setBlendFunction(GL20.GL_DST_COLOR, GL20.GL_ONE_MINUS_SRC_ALPHA)
|
||||
}
|
||||
|
||||
fun blendAlphaMask(batch: SpriteBatch) {
|
||||
batch.enableBlending()
|
||||
batch.setBlendFunction(GL20.GL_ZERO, GL20.GL_SRC_ALPHA)
|
||||
}
|
||||
|
||||
/**
|
||||
* Use demultiplier shader on GL Source (foreground) if source has semitransparency
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user