Aller au contenu

Message HrzProtocol.FogSettings

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


color: HrzProtocol.Color

The color towards which pixels of the scene are blended.


density: float

The speed at which fog reaches its maximal impact. The default value is one, at which it takes about a kilometer through the thickest layer of fog to reach the maximal impact.


start_distance: float

The distance at which the fog starts impacting the scene. Positions that are closer are completely unaffected by fog.


falloff_start: float

The altitude at which the fog starts decreasing in in intensity. The decrease is exponential.


falloff_end: float

The altitude at which the fog’s impact becomes negligible.


apply_to_sky: bool

Whether the sky should be obscured by fog.