SDK JS
    Preparing search index...
    • Convert one sRGB colour component to linear space (the standard sRGB EOTF).

      Parameters

      • c: number

        An sRGB component in 0..1 (display space).

      Returns number

      The same component in linear 0..1 (for shader/light math).