To follow up last week’s post on how to do Advanced two-way height blending. We of course also want to be able to paint with more than just two texture sets. Still using vertex colors, we can upgrade our shader to include the other vertex color channels. Black, Red, Green, Blue, and if you want also the Alpha channel. Making it possible to paint 3, 4 or even 5 texture sets. Some minor adjustments are needed in the shader function. It’s best to take a look at the shader graph images below.
A popular article about this is the Advanced Terrain Texture Splatting from Andrey Mishkinis