Nice work! Is there any chance of using ray marching on a 3d texture with this method? I have to somehow visualize a 3d dataset inside the blender viewport with a thresholded surface… I haven’t figured out a way to go from world to texspace coords when stepping through the volume though, not sure if it’s possible with OSL? (haven’t found a way to access the object transform and pass it to the shader)