This API is experimental
Its behavior may change in a future version of p5.js.
Returns the base shader used for filters.
Calling buildFilterShader(shaderFunction) is equivalent to calling baseFilterShader().modify(shaderFunction).
Read the buildFilterShader reference or call baseFilterShader().inspectHooks() for more information on what you can do with the base filter shader.
Examples
Syntax
baseFilterShader()
Parameters
Returns
p5.Shader: The base filter shader.
Notice any errors or typos? Please let us know. Please feel free to edit src/webgl/material.js and open a pull request!