Awesome
mesh-to-sdf examples
A sample project showing VFX examples relying on the real-time SDF generator from the mesh-to-sdf package.
SDFs are generated from a low poly version of the Adam character as it's animating, and consumed by the effects:
- The pink character is a VFX Graph effect. The SDF is sampled in the Position (SDF), Conform to SDF and Sample SDF nodes.
- Adam surrounded by green bubbles is an example of raymarching the SDF in a shader.
- Sparky is a VFX Graph effect as well, using the Collide with SDF node.
acknowledgements
Sparky is based on the portal effect from VFX Graph samples by @JulienFryer and @peeweekVFX.