Game Development Community

underestanding terrain textures

by Roger D Vargas · in Torque 3D Beginner · 07/08/2014 (7:26 am) · 2 replies

Im struggling with terrain textures and cant find a way to make them look right, they are too small or too large. Can somebody give me a guide to underestand what the "size" parameter does. Is shpuld express some relation between terrain size and texture resolution or something?

#1
07/08/2014 (7:57 am)
The Size determines how big the texture is scaled, I think 1 means tiled every 1 meter, since Torque has metric system, it is either meter or terrain grid size. That is why the detail texture is small, like 5 and the base texture is big, like 500. You better just look at how others did their terrains, then you get an idea.
#2
07/08/2014 (5:46 pm)
I often only have a single diffuse texture for the entire map - each material has the same texture set to the same size. You can figure out the size of a terrain by multiplying the terrain resolution by the square size (which is meters as well). A 1024 terrain with a square size of 2 gets you a 2048 diffuse texture. Note that I mean the "size" in the material settings is 2048 - the actual resolution of the texture can be any valid size. Bigger is better.

I tend to have the detail textures be around 10 meters, give or take, with a distance of less than 100. Macro textures are often around 100 or so. I don't use the same number for each material - I try to use primes or odd sizes so that textures don't match up with each other in a regular grid. Breaking up texture tiling is the idea.

A good place to get an example terrain with textures would be from www.torqueterrains.com. I give Andy Wright a lot of credit for these techniques.