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
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!
Hi! This is an intentional change that got made in 1.4.1 to disable alpha by default in WebGL sketches/graphics to make blending work more consistently: #5555
For your sketch to work the same as in 1.4.0, you can add an alpha channel to your WebGL graphic by adding this line in setup:
rectPG.setAttributes({alpha: true})
...alternatively, in your shader, you can fade to opaque black instead of fading to 0 alpha:
Most appropriate sub-area of p5.js?
p5.js version
1.4.2
Web browser and version
Chrome://104.0.5112.81
Operating System
Windows
Steps to reproduce this
Steps:
Snippet:
The text was updated successfully, but these errors were encountered: