detail_size

Resolution of terrain detail textures. A detail texture is a small texture that blends a high resolution sand, stone, or grass structure over the first texture. If a terrain has a second skin, it is automatically used for a detail texture unless detail_size is set at 0.

Range:

0 = Disable detail textures.
-100..+100 = Detail texture resolution, in detail pixels per texture pixel when positive, A7.76 number of tiles per terrain row when negative (default = 10).

Type:

var

Remarks:

Example:

terrain_lod = 4;
terrain_chunk = 40;
detail_size = 8; // 8 detail pixels per texture pixel
level_load("myterrain.hmp");

See also:

Terrain, terrain_chunk, terrain_lod, mtl_terraintex

► latest version online