Editable 3d world question
Posted: Fri Nov 27, 2015 5:17 pm
I want to create a world drawn from a height map that the heights can be adjusted.
So what I have is the height map loaded into a array that can be manipulated.
I create a mesh with the array data.
I create a entity with the mesh.
Works great
except I can only have one texture for the entity.
What I want is to use different textures for different grid tile.
Say the height map is 10x10, Do I have to create 100 entities to have a different texture for each tile? Surely not?
Should I be using Terrain instead?
So what I have is the height map loaded into a array that can be manipulated.
I create a mesh with the array data.
I create a entity with the mesh.
Works great
except I can only have one texture for the entity.
What I want is to use different textures for different grid tile.
Say the height map is 10x10, Do I have to create 100 entities to have a different texture for each tile? Surely not?
Should I be using Terrain instead?