I’m trying to do something that supports both renderers but seems like it can’t. This is what I came up with to manipulate the color node rather than position. But no idea how to add the median shader method. All those math methods are imports. This breaks trying to do with webgl renderer so maybe I might have to just do straight up wgsl instead.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Am I on the right track with my attempt to replicate my vertex shader in the nodesystem | 1 | 522 | July 23, 2023 | |
| How to utilize webgpu (is nodes the best option?) | 1 | 4707 | April 11, 2023 | |
| How to write custom vertex shader using NodeMaterial and WebGPURenderer? | 0 | 272 | April 3, 2024 | |
| Convert custom shader to MeshBasicNodeMaterial | 12 | 1268 | September 17, 2023 | |
| Can I define and access uniforms in raw WGSL? | 13 | 1749 | July 11, 2024 |