What it does

Color Space defines how numerical color values represent colors and brightness. Unity's Gamma and Linear settings mainly change the lighting and color-conversion workflow. Linear workflows decode color images into suitable values before lighting, so texture import settings must agree.

Figure: Conceptual relationship: Encoded color input → Linear calculations → Display encoding
Figure: Conceptual relationship: Encoded color input → Linear calculations → Display encoding

How to use it

Inspect Player color space, texture sRGB flags, render-target formats and shader conversions in sequence. Treat color textures differently from numeric masks, directions, normals and depth.

A concrete example

A numeric mask value of 0.5 does not remain 0.5 when decoded as sRGB into linear space. Decide whether the image represents numeric opacity or visual color before choosing import settings.

How to check it

  1. Compare known gray/color patches rendered directly and through an RT.
    Schematic: also inspect neutral white and gray
    Schematic: also inspect neutral white and gray
  2. Identify existing conversions before adding another gamma operation to compensate for darkness.
    Schematic: also inspect neutral white and gray
    Schematic: also inspect neutral white and gray

Limitations

Data textures differ from color textures; avoid double encoding/decoding.

References