Hi, I need a terrainshader with a masktexture as fogman wrote:
http://www.opserver.de/ubb7/ubbthreads.p...true#Post361297

Is it possible, to have more than three textures on this shader?
The textures are blend soft depending the rgb from the masktexture.
Should it not also be possible to do it in this way?:
Blend...
Tex1.. if r=10,g=0,b=0;
Tex2.. if r=20,g=0,b=0;
Tex3.. if r=30,g=0,b=0;
Tex4.. if r=40,g=0,b=0;
Tex5.. if r=50,g=0,b=0;
r,g,b means the color wink
At this way textures can't blend soft, I know. But is it possible to do like this?

I don't know how to programm a shader, it would be nice if someone have a small example for this.