41 ms·
Look up signed distance fields. They are the most elegant CSG solution by far for procedural geometry. It's kind of like a functional way to describe and morph
by snek_case 2y ago
Look up signed distance fields. They are the most elegant CSG solution by far for procedural geometry. It's kind of like a functional way to describe and morph 3D shapes.
Highly recommend searching for Mercury Delight on YouTube for an idea of what people have done in the demoscene with it. Also lots of examples on shadertoy. It's amazing stuff.