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 | |
---|---|---|---|---|
How to utilize webgpu (is nodes the best option?) | 1 | 4296 | April 11, 2023 | |
How to write custom vertex shader using NodeMaterial and WebGPURenderer? | 0 | 211 | April 3, 2024 | |
How do I need to modify my wgsl compute shader to use it with the node system? | 0 | 1210 | August 17, 2023 | |
Can I define and access uniforms in raw WGSL? | 13 | 1455 | July 11, 2024 | |
Using own shaders in WGSL or TSL in postprocessing with WebGPU? | 2 | 664 | May 13, 2024 |