mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Updated shader examples
This commit is contained in:
@@ -14,7 +14,7 @@ void setup() {
|
||||
maskImage = createGraphics(srcImage.width, srcImage.height, P2D);
|
||||
maskImage.noSmooth();
|
||||
maskShader = loadShader("mask.glsl");
|
||||
maskShader.set("maskSampler", maskImage);
|
||||
maskShader.set("mask", maskImage);
|
||||
background(255);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user