Name

resetShader()

Examples
size(100, 100, P2D)
img = loadImage("apples.jpg")
edges = loadShader("blur.glsl")

shader(edges)
image(img, 0, 0)
resetShader()
image(img, width / 2, 0)
Description Restores the default shaders. Code that runs after resetShader() will not be affected by previously defined shaders.
Syntax
resetShader()
resetShader(kind)
Parameters
kindint: type of shader, either POINTS, LINES, or TRIANGLES

Updated on Mon Sep 21 15:53:25 2020.

If you see any errors or have comments, please let us know.