terrain_lod

Determines the levels of detail (LOD) and cache behavior of chunked terrain. The terrain cache swaps terrain to and from video memory and reduces the memory requirement for huge terrains. LOD levels render terrain chunks in reduced resolution dependent on their distances to the camera, and thus increase the frame rate for huge terrains.

Range:

0 = Disable terrain cache and LOD (default).
1 = Enable terrain cache, disable LOD.
2..4
= Enable terrain cache with 2..4 LOD levels.

Type:

var

Remarks:

Edition

A7.10  P 

Example:

terrain_lod = 4;     // enable terrain LOD
terrain_chunk = 40;
level_load("myterrain.hmp");

See also:

Terrain, terrain_chunk, detail_size ► latest version online