Is there any better way to do this or any input on which way is more likely to work, or some entirely new approach suggested for that matter?
I’m looking at designing a simple procedurally generated random 2D like outdoor map using hexes, a bit stylized like a board game map.
Ideally, I would like to be able to define the hexes with ‘overlays’ of textures, overlay 1 might be ground, overlay 2 might be some trees in the NW corner, overlay 3 might be a road from N to S, overlay 4 might be a river from the SE to the W, etc. I want to use a texture atlas for each layer and modify the UV values to pick a different part of that atlas for the specific graphic.
In DOS/Windows, the way to do this is to take over the entire screen and paint the first layer, then the second layer, then the third layer, etc. Pixel by Pixel. Works great on a PC, but I’d really like to take advantage of the GPU for smooth panning and zooming. (Plus some 3D decals, etc.)
One way to do this would be to do this the DOS way and paint into a shared texture atlas (or several atlases) and use that on the hexes and let the GPU do it’s magic.
A different way would be to give them slightly different depths (which would limit how closely the camera could zoom, but it might be OK if I limit the camera) I haven’t seen any way to do this without many meshes/objects (one per layer per hex)
Thanks in advance
