I'm experimenting with the Geometry Proximity node in Geo Nodes, using Blender version 3.2.1. The effect I want to achieve is a volumetric shader within a cube domain that is controlled by the distance from a Curve.
I can achieve the effect I'm looking for on the surface of the cube (see figure below). You can see the Bezier curve poking out of the left face and the front face of the cube. Small distances to the curve are colored blue on the faces of the cube with larger distances colored green and red. This test case of a surface shader appears to work fine.
However, when I plug the Emission Shader into the Volume socket on the Material Output node the volume is colored a uniform blue inside the cube.
Any ideas why this setup works for a surface shader but not a volume shader? Maybe this use case isn't supported yet by Geometry Proximity? Or perhaps a setting or setup I'm not using correctly?
Blend file attached below. Any help is greatly appreciated!