Terrain Layer List
High-level terrain meshes have a stack of user-definable layers which defines the texture of the terrain surface.
The Terrain Layer List GUI component shows the layer stack of the current terrain mesh and allows the user to modify some runtime settings.
TerrainLayer API for details.
Each row in the layer list represents a layer of the terrain mesh. The columns show the following information:
Layer state (icon)
The 'pause' icon indicates that the layer is not visible, because it is occluded by the layers on top of it.
The 'circle' icon indicates that the layer is potentially visible but has no content.
The 'bullet' icon means that the layer content is visible.
The 'cross' icon means that the layer has been hidden explicitly.
The human-readable name of the terrain layer.
Sort index (number)
The layer sort index defines the order in which layers are rendered: lower numbers are painted first, bigger numbers afterwards.
There are four different layer types:
Base : base terrain showing per-vertex data
Material : material-based texturing
Texture : unique texturing with atlases
Region : overlay for available data regions
To modify the runtime settings of a terrain layer, first select it in the list and then use the user interface controls below.
The Visible checkbox can be used to toggle the visible state of a terrain layer. Layer occlusion is determined from visible layers on top.
Terrain layers are rendered by spliting the terrain mesh into chunks and generating a render batch for each one. Use the Show Batches? checkbox to show or hide an overlay that uses colors to indicate render batches.
The Lighting checkbox enables or disabled lighting the the terrain layer. Lighting computations (including shadow-mapping) are performed if at least one visible layer has lighting enabled.
The field indicates whether per-vertex normal vectors or normal-map textures are used for lighting.