mD3dDevice->SetTexture(0, grassTexture); mD3dDevice->SetTexture(1, sandsTexture); // Code to render the terrain...
The problem is that the above code only render the grass texture.
I have created the terrain in 3Ds Max, How can I specify the areas that will use the texture 'sandsTexture'? Is there is a modifier in 3Ds max that I can use to do that?
I thought VertexPaint will work, but it doesn't work, I'm exporting .x file and loading the terrain from .x file.