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 Tue Jul 11 06:52:24 2017.
Creative Commons License