Skip to content

neutralToneMapping()

ts
function neutralToneMapping(params?: ToneMappingParams): EffectPass<{
  uExposure: number;
  uConvertToSRGB: boolean;
}>;

Creates a Neutral tone mapping effect (Khronos Neutral Tone Mapper). Designed to preserve color hue while compressing dynamic range.

Parameters

params?

ToneMappingParams

Configuration for the neutral tone mapping.

Returns

EffectPass<{ uExposure: number; uConvertToSRGB: boolean; }>

Released under the MIT License.