GLKEffectPropertyFog class defines properties used to configure how fog is applied to an effect. These properties are specifically designed to mimic the fog calculations provided by OpenGL ES 1.1.
- iOS 5.0+
- macOS 10.8+
- tvOS 5.0+
When fog is enabled, the fog component is calculated and clamped to a range from
1.0. Then, the fog value is used as a blending factor between the computed fragment color and the fog color.