SgtLandscapeColor

This component can be added to a child GameObject of your landscape. It will color the landscape based on its height and slope data using a gradient texture.

Space

Where should the color be applied?

Global = The whole landscape. Local = A small section of the landscape defined by the Transform component's position, rotation, and scale.

Mask

Should this layer of detail be masked?

MaskIndex

The mask texture used by this component.

MaskInvert

This allows you to invert the mask.

MaskSharpness

This allows you to set how sharp or smooth the mask transition is. (If space is Global)

MaskGlobalShift

This allows you to offset the mask based on the topology.

MaskDetail

This allows you to enhance the detail around the edges of the mask.

MaskDetailIndex

This allows you to enhance the detail around the edges of the mask.

MaskDetailTiling

This allows you to adjust the mask detail texture tiling.

MaskDetailOffset

This allows you to maximum amount the mask can be shifted based on the MaskDetail texture in UV space.

GradientIndex

This allows you to specify which gradient texture is used.

The actual texture is in the SgtLandscapeBundle component set in the parent landscape component's Bundle setting.

Variation

This allows you to adjust which part of the GradientTex is used.

Offset

This allows you to adjust which part of the GradientTex is used.

Occlusion

This allows you to adjust the amount of ambient occlusion darkening applied to the slopes of terrain features.

Strata

This allows you to adjust how many layers of strata appear in the terrain depending on its height.

Blur

This allows you to smooth out the strata colors.

SmoothnessMidpoint

The smoothness will reach its maximum value when the gradient color is at this luminosity.

SmoothnessStrength

This allows you to set the maximum smoothness value.

SmoothnessPower

This allows you to set the sharpness of the smoothness relative to how close the gradient color is to the SmoothnessMidpoint.

EmissionMidpoint

The emission will reach its maximum value when the gradient color is at this luminosity.

EmissionStrength

This allows you to set the maximum emission value.

EmissionPower

This allows you to set the sharpness of the emission relative to how close the gradient color is to the EmissionMidpoint.

Last updated