FogMode


Description:

public enum FogMode

The fog mode determines the equation used to calculate the fogging blend factor while fogging is enabled.

The simplest cogl_fog_mode_linear mode determines f as:

  f = end - eye_distance / end - start

Where eye_distance is the distance of the current fragment in eye coordinates from the origin.


Namespace: Cogl
Package: doc

Content:

Enum values: