I have terrain with realistic heightMap (TerrainQuad) and I want to texture it with unique map images to have something like 3D plastic map.
What is the simpliest way to do it?
The idea is, that I put less or more little square images onto whole terrain one next to another.
- Is the number of texture images limited by material defiition? If yes, I suppose, that I would need to define my own material with enough “texture slots”.
- How can I shift certain texture on appropriate position? For example…I need to set some texture piece coordinates like this: -0.5, -0.5, 0.5, 0.5 (not to cover whole terrain) …simply coordinates of left upper and right lower corner (both x and y.) which are set in units relative to mesh sides size (TerrainQuad…or maybe only TerrainPatch in my case).
It would be great to have no need to texture each TerrainPatch but only whole TerrainQuad, but I don’t know, if this is possible. (ok, everything is possible, but I mean if it is possible in actual state of JME project)
Is this right way to do it?