terrain_chunk

Determines the chunk size of chunked terrain, in vertices. The smaller this value, the more chunks a terrain is split into. Setting this variable to 0 disables chunked terrain and allows terrain mesh deformation.

Range:

0 .. 256 (default = 32 for a chunk size of 32x32 squares)

Type:

var

Remarks:

Edition

   C 

Example:

terrain_chunk = 0;     // disable chunked terrain
level_load("myterrain.hmp");

See also:

Terrain, terrain_lod, detail_size