シェーダーは2D/3D形状にテクスチャとして適用できます。
p5.jsでのシェーダーの使用について詳しく学ぶには: p5.js シェーダー
テクスチャとしてのシェーダー: Revised by Caleb Foss. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.
You can find the code history of these examples here: pre-2023 example, 2023 code. You can suggest improvements by contributing to the current website!