The Vertex Blend shader uses the mesh's vertex colors as weights to blend between four texture splats. Useful for terrain-like materials without having to go through Unity's terrain system. Importantly, this shader supports the addition of the Detail property group, which we have found useful for applying a whole-terrain base map set.
NOTE: Use the TriPlanar mapping mode to avoid texture stretching issues on steep inclines. Due to the high sample count, we strongly recommend against using it in forward mode!
Usage Rules
Name | Description |
---|---|
Deferred Compatible | This shader draws using the deferred buffer when in deferred rendering mode. |
Sampler Hog | This shader may exceed texture sampler limits and fail to compile should you add too many extra property groups. |