A test world for use in subsequent fog example scenes.
A linear-fog world with a default visibilityRange of 0.0 meters (which means Fog has no effect).
A linear-fog world with a visibility range of 40m.
A linear-fog world with a visibility range of 30m.
A linear-fog world with a visibility range of 20m.
An exponential-fog world with a visibility range of 100m.
An exponential-fog world with a visibility range of 40m.
An exponential-fog world with a visibility range of 20m.
A foggy world using black fog.
Fog and background pairs are bound and unbound by touching shapes within the world.
Fog simulates atmospheric effects by blending distant objects with fog color.
Fog increases realism and can be used to set a mood, even indoors. Add fog outside to create hazy worlds, or add fog inside to create dark dungeons. Fog has a color, a type, and a visibility range. Fog limits the viewer's sight, reducing the amount of the world you have to build and the amount of the world that must be drawn.
Copyright ©2005-2019 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.