FogMode


Description:

[ CCode ( cprefix = "COGL_FOG_MODE_" , has_type_id = false ) ]
public enum FogMode

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

The simplest 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: cogl-1.0

Content:

Enum values: