I was wondering if I could get some input on managing terrains with OpenGL.
For terrains I'm using a heightmap. I also have a corresponding texture map which designates the textures to use for each vertex.
The texutres are loaded with a GL_TEXTURE_ARRAY_2D accessed by a textureIndex.
This allows me to change the texture at a given point to a path based texture, grass, ect.
I know other people out there use height of a verticie to indicate the texture to use. My problem with this is, how would I ever designate paths in my terrain?
How does everyone else manage terrains?