Skip to content

FogMode

FogMode is used to specify the fog mode.

FogMode.Linear: Linear fog mode. FogMode.Exponential: Exponential fog mode. FogMode.ExponentialSquared: Exponential squared fog mode.

attributesdescription
LinearLinear fog effect. In the scene, objects that are further away from the camera will become more blurred and their colors will become lighter. You can use the FogStartDistance and FogEndDistance properties to control the start and end distances of the fog effect, and use the FogColor property to control the color of the fog effect.
Exponential
ExponentialSquared