tamte
Dec. 3, 2018 21:45:15
is there a mantra property or something that allows rendering SDF (VDB or native) directly as a fog volume?
Essentially something like uniform volume, but non-uniform and from SDF
brianBurke
Dec. 3, 2018 22:20:02
hi tamte. i don't know about a mantra property for this, but thresholding the surface field in the shader and rendering that as density works to do what you are describing.
here's an example:
Image Not Found
tamte
Dec. 3, 2018 22:54:17
thanks Brian, this would work for dense volumes and is kind of the approach I have as a back up (density < 0)
however I'm hoping for some property so that hopefully
- all inside of SDF VDBs will be shaded as fog without the need to use Fill Volume to get the values deep inside
- native Volumes would get optimized in far positive values when building the octree, currently the full box has to be raymarched