You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Demo:
https://OglBugState.exponenta.repl.co
src:
https://replit.com/@eXponenta/OglBugState#script.js
The text was updated successfully, but these errors were encountered: