Coloring State Variables

  • GL_FOG_COLOR

    Description: Fog color
    Attribute group: fog
    Initial value: 0,0,0,0
    Get command: glGetFloatv
  • GL_FOG_INDEX

    Description: Fog index
    Attribute group: fog
    Initial value: 0
    Get command: glGetFloatv
  • GL_FOG_DENSITY

    Description: Exponential fog density
    Attribute group: fog
    Initial value: 1.0
    Get command: glGetFloatv
  • GL_FOG_START

    Description: Linear fog start
    Attribute group: fog
    Initial value: 0.0
    Get command: glGetFloatv
  • GL_FOG_END

    Description: Linear fog end
    Attribute group: fog
    Initial value: 1.0
    Get command: glGetFloatv
  • GL_FOG_MODE

    Description: Fog mode
    Attribute group: fog
    Initial value: GL_EXP
    Get command: glGetIntegerv
  • GL_FOG

    Description: True if fog enabled
    Attribute group: fog/enable
    Initial value: GL_FALSE
    Get command: glIsEnabled
  • GL_SHADE_MODEL

    Description: glShadeModel setting
    Attribute group: lighting
    Initial value: GL_SMOOTH
    Get command: glGetIntegerv