Skip to content

Threepp.Fog

Fog (linear)

Sets up linear fog.

Members

Constructors

Properties


Fog

Constructor

Arguments

Arguments Default Description
color   Fog color.
near 1 Distance at which the fog starts.
far 1000 Distance at which the fog ends.

Description

Constructor


color

Property \ Access: r/w

Description

Fog color


nearPlane

Property \ Access: r/w

Description

Start distance


farPlane

Property \ Access: r/w

Description

End distance