Aller au contenu

Message HrzProtocol.AmbientSettings

Defined in hrz/protocol/scene/view_settings.proto.

Fields

lighting: HrzProtocol.LightingSettings

Global lighting settings applied to the whole scene

sun_ambient_balance: float

Controls the balance between sun lighting and ambient lighting. At 0.0, there is only ambient lighting. At 0.5, there are equal part sun and ambient lighting. At 1.0, there is only sun lighting.

lighting_strength: float

Multiplies both sun and ambient lighting applied to the scene. The default value is 1.0.

wrap_lighting: float

Controls the intensity at which faces that are not fully exposed to the sun are deprived from its light. At 0, they stop receiving light as soon as they are perpendicular ot the sun direction. At 1, they stop receiving light when they face the opposite direction.

sky: HrzProtocol.SkySettings
sun: HrzProtocol.SunSettings
ambient_lighting: HrzProtocol.AmbientLightingSettings
primary_fog: HrzProtocol.FogSettings
secondary_fog: HrzProtocol.FogSettings
underground_color: HrzProtocol.Color

This color is displayed under the transparent terrain.