Name | shader() |
||||
---|---|---|---|---|---|
Examples |
size(100, 100, P2D) img = loadImage("apples.jpg") blur = loadShader("blur.glsl") shader(blur) image(img, 0, 0) | ||||
Description | Applies the shader specified by the parameters. It's compatible with the P2D and P3D renderers, but not with the default renderer. | ||||
Syntax | shader(shader) shader(shader, kind) | ||||
Parameters |
|
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License