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.
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).
- This variable determines the scale of the second skin coordinate set (u2, v2). It must be set before loading the terrain.
- On multitexture terrains
, this variable also determines the scale of the tiled RGB textures.
terrain_lod = 4;
terrain_chunk = 40;
detail_size = 8; // 8 detail pixels per texture pixel
Terrain, terrain_chunk, terrain_lod,
► latest version online