SDFr icon indicating copy to clipboard operation
SDFr copied to clipboard

How to create Distance Field Gradients

Open andybak opened this issue 6 years ago • 0 comments

Keijiro recently posted a project that makes use of an SDF plus an SDF gradient: https://github.com/keijiro/VectorFieldExamples

The gradient and SDF were exported from Houdini using the Unity VFX Toolbox plugin.

I'm curious to figure out if I can do the same thing without Houdini and your project looks like a good starting point.

However - I'm not sure exactly what gradient is used - the gradient of an SDF is more than just a simple Vector3 - there are multiple gradients for each point in space as far as I understand it.

Any thoughts?

andybak avatar Jul 27 '19 14:07 andybak