Instance Property

density

The rate at which the fog exponent increases.

Declaration

var density: GLfloat { get set }

Discussion

This property is ignored when the mode property is set to GLKFogMode.linear.

See Also

Fog Properties

var color: GLKVector4

The color of the fog at maximum density.

Deprecated
var start: GLfloat

The minimum distance in eye coordinates before fog is applied to the fragment color.

Deprecated
var end: GLfloat

The distance in eye coordinates where fog completely covers the color fragment.

Deprecated