-
You briefly mention compute.toys in the article about storage textures. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Something things I can say about compute.toys and it not necessarily showing the best way to do certain things
As for a "how to" article on compute.toys, would that be better on the compute.toys site itself as docs or a tutorial (https://github.com/compute-toys) or does it make sense here? |
Beta Was this translation helpful? Give feedback.
Well, specifically, compute shaders with storage textures, it depends on what you're trying to do. Image processing using compute shaders is probably a win over using triangles. Drawing that dolphin/ocean in a compute shader vs doing it with triangles is probably not. There's no hard and fast rule though. Unreal's nanite renders some stuff that would have traditionally be drawin with triangles in a compute shader, see bevy's example. Tho, those techniques often require a high-end GPU. Vello also I think renders most stuff in compute shaders. My bigger concern was more the shadertoy type of SDF scenes. This selfie girl is amazing and could be ported to a compute shader but it's definitely …