TerrainSky
Description
Represents the settings for rendering the sky background of the terrain.
The sky background is rendered in three passes:
-
Uniform background color (see BackgroundColor)
-
Custom background texture (see TextureMap)
-
Environment map of terrain (see EnvironmentMap)
Alpha-blending is performed by passes 2 and 3.
Public / Attributes
BackgroundColor
The uniform background color to use for render pass 1.
Set to 0
to disable render pass 1. Defaults to 0
.
EnvironmentMatrix
Optional affine transformation matrix to use for render pass 3.
The matrix is applied after the transformation from light space to terrain space (see TerrainView.LightingMatrix). Defaults to Mat3F.Identity.
TextureMap
The cubemap texture to use for render pass 2.
Set to null
to disable render pass 2. Defaults to null
.
TextureMatrix
Optional affine transformation matrix to use for render pass 2.
The matrix is applied after the transformation from light space to terrain space (see TerrainView.LightingMatrix). Defaults to Mat3F.Identity.