Setting Parameters
Each effect has parameters that you can edit using .set(). The reference page for each effect lists the parameters and what they do.
The example below sets the blur amount of the motion blur shader to 100 (the default value is 10).
import fip.*;
PShader motionBlur;
PImage ireland;
void setup() {
size(1000, 1000, P3D);
motionBlur = loadShader(FIP.motionBlur);
motionBlur.set("blurAmount", 100.0); // Set the parameter named "blurAmount" to 100.
ireland = loadImage("ireland.jpg");
}
void draw() {
image(ireland, 0, 0, width, height);
filter(motionBlur);
}