The Terraform4D Operator Shader helps you to shade your terrain. It can render any operator‘s height map, slope map, or Fields mask.
Use its gradient for quick results, or use it as a mask in then Fusion or Layer shader for more complex shader trees.
The shader also correctly previews in the viewport:


The Operator Shader is used as a mask for distributing rocks and grass on the terrain material.