Enum Cogl.FogMode
|[ f = end - eye_distance / end - start ]| |[ f = e ^ -(density * eye_distance) ]| |[ f = e ^ -(density * eye_distance)^2 ]| 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.
Values
|
Number Cogl.FogMode. EXPONENTIAL : 1
|
|
Number Cogl.FogMode. EXPONENTIAL_SQUARED : 2
|
|
Number Cogl.FogMode. LINEAR : 0
|
Used by These Methods / Signals / Properties
Cogl
Method
|
|