TerrainRenderMode()

Syntax

TerrainRenderMode(#Terrain, Flag)
Description
Changes the way the terrain is rendered.

Parameters

#Terrain The terrain to use.
Flag It can be one of the following values:
  #PB_Terrain_CastShadows:   enables dynamic shadow casting on the terrain (can be slow).
  #PB_Terrain_LowLODShadows: enables low quality shadow casting (to have a faster rendering).

Return value

None.

See Also

CreateTerrain()

Supported OS

All

<- TerrainMousePick() - Terrain Index - TerrainTileHeightAtPosition() ->