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 Fri Aug 16 21:51:57 2019.
Creative Commons License