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 Color)
-
Background texture (see Texture)
-
Environment map of terrain (see ILightingContainer.LightingMap)
Alpha-blending is performed by passes 2 and 3.
Public / Attributes
Color
The uniform background color to use for render pass 1.
Set to 0
to disable render pass 1. Defaults to 0
.
Texture
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.
Defaults to Mat3F.Identity.