shamansir / elm-aframe / AFrame.Components.Fog

Fog

type_ : AFrame.Variants.Fog.Fog -> AFrame.Properties.Property

Type of fog distribution. Can be linear or exponential.

Default : linear

color : Color -> AFrame.Properties.Property

Color of fog. For example, if set to black, far away objects will be rendered black.

Default : #000

Linear

near : Basics.Float -> AFrame.Properties.Property

Minimum distance to start applying fog. Objects closer than this won’t be affected by fog.

linear

Default : 1

far : Basics.Float -> AFrame.Properties.Property

Maximum distance to stop applying fog. Objects farther than this won’t be affected by fog.

linear

Default : 1000

Exponential

density : Basics.Float -> AFrame.Properties.Property

How quickly the fog grows dense.

exponential

Default : 0.00025