Terrain texture sizes?
by Jeff Randall · in Torque Game Engine · 01/13/2002 (10:00 am) · 2 replies
Hello,
Can the engine use a texture greater than 256x256 for the terrain?
I trying to get the detail levels higher for the terrain, but I am aware there is a problem with using 512x512 textures.
My question is,
Does anyone know of a way to use higher resolution textures for the terrain without problems?
Thanx
Can the engine use a texture greater than 256x256 for the terrain?
I trying to get the detail levels higher for the terrain, but I am aware there is a problem with using 512x512 textures.
My question is,
Does anyone know of a way to use higher resolution textures for the terrain without problems?
Thanx
About the author
Torque 3D Owner Phil Carlisle
Basically, when you create the texture for the map, its one big texture created from blending all of the base textures (i.e. textures used) based on a weighted alpha value per texture.
So in effect, a series of base textures gets blended into one huge texture, which is then broken into smaller textures in pages.
It might be that all you need is modify the blending code to live with texture sizes of 512x512 (have a look in the terrain render code for the blending functions).
Phil.