Hey Janbo,
Couple questions on the terrain shader.
First, I love it using the textures you provided. I love the alpha normal mapping. Really makes this shine. I am getting the same FPS with this, as I had with my old shader that had no normal mapping.
Unfortunately, I have run into a few problems, and would really appreciate your time.
I am getting a lot of mixing of the colors. Texture0 is almost always there even when all my colors add to 255. For instance, R-0, G-180, B-75 gives me all 3 textures, instead of 2. When I have the color maxed at 255 there is no blending.
I never went to 255 green on this splatmap - the highest was 179. But I also didn't think I did 255 blue, but blue seems to show a lot more than green.
How are we suppose to make the textures this shader needs? I have tried to use my own textures, and even ones that have alpha in them( if you have Gameguru I tried to use those default terrain images which are alpha blended ). The result is just a brown color. I assume the "alpha trick" is what is causing the problem. Even just a link or the name of what this process is called I can google it on my own.
I also attached the splatmap, if you were curious.
With texture0 and colors_total = 255 - the clear "path" is very high blue.
No texture0
GameGuru textures
Your provided textures with texture0 and all stages, but 4 AKA alpha