We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36c4c2d commit 3b3437cCopy full SHA for 3b3437c
src/webgl/ShaderGenerator.js
@@ -1885,8 +1885,7 @@ if (typeof p5 !== 'undefined') {
1885
* createCanvas(200, 200, WEBGL);
1886
* myShader = baseStrokeShader().modify(() => {
1887
* shouldDiscard(willDiscard => {
1888
- * // Discard fragments based only on the default logic
1889
- * return willDiscard;
+ * 'bool shouldDiscard': '(bool outside) { return outside; }'
1890
* });
1891
* }
1892
* function draw() {
0 commit comments