Screen blend mode for andriod.
This commit is contained in:
parent
09b4ef6d82
commit
dd88363900
@ -556,6 +556,9 @@ public class OGLESShaderRenderer implements Renderer {
|
||||
case ModulateX2:
|
||||
GLES20.glBlendFunc(GLES20.GL_DST_COLOR, GLES20.GL_SRC_COLOR);
|
||||
break;
|
||||
case Screen:
|
||||
GLES20.glBlendFunc(GLES20.GL_ONE, GLES20.GL_ONE_MINUS_SRC_COLOR);
|
||||
break;
|
||||
default:
|
||||
throw new UnsupportedOperationException("Unrecognized blend mode: "
|
||||
+ state.getBlendMode());
|
||||
|
Loading…
x
Reference in New Issue
Block a user