TerrainMaterialTexture
Description
Describes a material-based terrain texture.
Terrain textures use the Specular-Glossiness PBR-workflow, see IMaterial.
Public / Attributes
AlbedoReflectivity
Combined texture map for: albedo, reflectivity.
The red, green and blue channels store the albedo color (sRGB). See IMaterial.BaseColor.
The alpha channel stores the inverse grayscale reflectivity (linear). See IMaterial.Reflectivity.
Displacement
The displacement map or null
.
This texture is interpreted according to IMaterial.Displacement.
NormalAmbientRoughness
Combined texture map for normals, ambient occlusion and gloss, or null
.
The red and blue channels store the reduced unit-length tangent-space normal vectors (see Image.EncodeNormals). See IMaterial.Normal.
The green channel stores the ambient occlusion values (linear). See IMaterial.Occlusion.
The alpha channel stores the inverse gloss resp. roughness value (linear). See IMaterial.Glossiness.
ScaleDisplacement
The terrain-space length that corresponds to the maximum displacement.
This factor is expected to establish the correct scale for the terrain textures, without any artificial or artistic adjustment.
The values of ScaleDisplacement and ScaleTexture define the correct relationship between displacement values and normal vectors.
- See also
ScaleTexture
The terrain-space length that corresponds to the distance between the UV-coordinate pair (0,0)
and (1,0)
in the terrain textures.
This factor is expected to establish the correct scale for the terrain textures, without any artificial or artistic adjustment.
The values of ScaleDisplacement and ScaleTexture define the correct relationship between displacement values and normal vectors.