To follow up on last week’s post on how to create Advanced two-way height blending, we also want to be share how to paint with more than just two texture sets.
We’re still using the vertex colors as shown in our previous post. We’ll use this to upgrade our shader to include the other vertex color channels: Black, Red, Green, Blue, and if you want also the Alpha channel as a bonus.
This makes it possible to paint 3, 4, or even 5(!) texture sets. That’s right, you’re getting a fifth color absolutely for free! If that isn’t value we don’t know what is.
But to get back to the serious business at hand, some minor adjustments are needed in the shader function. To show you what you need to do take a look at the shader graph images below.
A popular article about this is Advanced Terrain Texture Splatting by Andrey Mishkinis
With that, you’ve graduated to 3, 4, and 5-way height blending. Creating detailed environments is literally at your fingertips.
See you next time!
The High Priority Team