Smooth (Alpha) Blends
How materials can be blended smoothly, as opposed to the default height blend.
Last updated
How materials can be blended smoothly, as opposed to the default height blend.
Last updated
Nanite must be disabled on the Voxel World to use smooth blends. This also means displacement is not supported when using smooth blends.
To implement alpha blends, Nanite needs to be disabled on the Voxel World. This will force the terrain to render with the MegaMaterial's base material.
In the MegaMaterial's base material, the Voxel Fallback Weights
can be used to directly interface with the current pixel's layer IDs and weights.
Every Voxel Parameter node has a Layer
input pin. To set up alpha blending, the material logic needs to be copy-pasted three times, with each copy using one of the layers. At the end of each layer's logic, multiply the values by that layer's weight, and then add the three layers' values together.