@OPEN-KAPPA/COLORS
    Preparing search index...

    Class ToneMapperAbstract

    Functions to manipulate the tone of a color.

    Index

    Methods

    • Map the tone using the ACES Luminance algorithm.

      Type Parameters

      Parameters

      • color: C

        The color to map.

      • Optionalexposure: number

        The exposure coefficient.

      Returns C

      The mapped color.

      If the input color space is invalid, which should never happen if respecting the typeing.

    • Map the tone using the ACES RGB Narkowicz algorithm. This gives a "filmic" look.

      Type Parameters

      Parameters

      • color: C

        The color to map.

      • exposure: number = 1.0

        The exposure coefficient.

      Returns C

      The mapped color.

    • Map the tone using the Reinhard algorithm.

      Type Parameters

      Parameters

      • color: C

        The color to map.

      • exposure: number = 1.0

        The exposure coefficient.

      • maxWhite: number = 1.0

        The maximum white value.

      Returns C

      The mapped color.

      If the input color space is invalid, which should never happen if respecting the typeing.