GAMGI Formats: Light Config

# Light Config

- Color
- Materials

### ambient_r, ambient_g, ambient_b

Define the red, green, blue contributions used by default for ambient light. These contributions can vary between black (0.0, 0.0, 0.0) and white (1.0, 1.0, 1.0).

    Example: <light ... ambient_r="0.5" ambient_g="0.5" ambient_b="0.5"/> (default)
    (defined in GAMGI_MESA_LIGHT_AMBIENT_R, GAMGI_MESA_LIGHT_AMBIENT_G
    and GAMGI_MESA_LIGHT_AMBIENT_B)
    Allowed values: 0.0 - 1.0 (optional, coupled)

### diffuse_r, diffuse_g, diffuse_b

Define the red, green, blue contributions used by default for diffuse light. These contributions can vary between black (0.0, 0.0, 0.0) and white (1.0, 1.0, 1.0).

    Example: <light ... diffuse_r="0.4" diffuse_g="0.4" diffuse_b="0.4"/> (default)
    (defined in GAMGI_MESA_LIGHT_DIFFUSE_R, GAMGI_MESA_LIGHT_DIFFUSE_G
    and GAMGI_MESA_LIGHT_DIFFUSE_B)
    Allowed values: 0.0 - 1.0 (optional, coupled)

### specular_r, specular_g, specular_b

Define the red, green, blue contributions used by default for specular light. These contributions can vary between black (0.0, 0.0, 0.0) and white (1.0, 1.0, 1.0).

    Example: <light ... specular_r="0.3" specular_g="0.3" specular_b="0.3"/> (default)
    (defined in GAMGI_MESA_LIGHT_SPECULAR_R, GAMGI_MESA_LIGHT_SPECULAR_G
    and GAMGI_MESA_LIGHT_SPECULAR_B)
    Allowed values: 0.0 - 1.0 (optional, coupled)

Home