-
Notifications
You must be signed in to change notification settings - Fork 224
Open
Description
BlendMode MUST BE applied for each combination of blend modes.
But this is not happens when a src = ZERO.
Combination [ZERO, ONE_MINUS_SRC_ALPHA] known as DST_OUT composition operation and used as inverse mask on framebuffer (for producing holes) with soft edge.
https://github.com/oframe/ogl/blob/master/src/core/Program.js#L134
https://github.com/oframe/ogl/blob/master/src/core/Program.js#L141
https://github.com/oframe/ogl/blob/master/src/core/Program.js#L119
This wrong, because only transparent filed can be used for checked for setting blend state.
Any changes of this is BREAKING and need publish new major version.
ivanpopelyshev, nassosyian and monolithMktg
Metadata
Metadata
Assignees
Labels
No labels