mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 13:21:07 +01:00
Fixed setting for additive blending in PGL
This commit is contained in:
@@ -1067,7 +1067,7 @@ public class PGL {
|
||||
}
|
||||
|
||||
public void setAdditiveBlend() {
|
||||
gl.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
|
||||
gl.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE);;
|
||||
}
|
||||
|
||||
public void setSubstractiveBlend() {
|
||||
|
||||
Reference in New Issue
Block a user