Coloring State Variables

GL\_FOG\_COLOR
Property Value
Description: Fog color
Attribute group: fog
Initial value: 0,0,0,0
Get command: glGetFloatv

 

GL\_FOG\_INDEX
Property Value
Description: Fog index
Attribute group: fog
Initial value: 0
Get command: glGetFloatv

 

GL\_FOG\_DENSITY
Property Value
Description: Exponential fog density
Attribute group: fog
Initial value: 1.0
Get command: glGetFloatv

 

GL\_FOG\_START
Property Value
Description: Linear fog start
Attribute group: fog
Initial value: 0.0
Get command: glGetFloatv

 

GL\_FOG\_END
Property Value
Description: Linear fog end
Attribute group: fog
Initial value: 1.0
Get command: glGetFloatv

 

GL\_FOG\_MODE
Property Value
Description: Fog mode
Attribute group: fog
Initial value: GL_EXP
Get command: glGetIntegerv

 

GL\_FOG
Property Value
Description: True if fog enabled
Attribute group: fog/enable
Initial value: GL_FALSE
Get command: glIsEnabled

 

GL\_SHADE\_MODEL
Property Value
Description: glShadeModel setting
Attribute group: lighting
Initial value: GL_SMOOTH
Get command: glGetIntegerv