bifrost_scalar_channel_grad

Returns the gradient vector of a scalar field from a Bifröst object. You can connect the Out Value port to drive an input port of another shader.

Typically, you use this shader to get the gradient of the distance channel, which is the normal of the isosurface.

Default
The value to use when the specified channel is not found.
Channel
The name of the Bifröst channel to return.

To echo a list of voxel channels that are defined on a Bifröst object to the Script Editor, run the following MEL command:

getAttr objectname.availableVoxelChannels;