Skip to content

agxToneMapping() ​

ts
function agxToneMapping(params?: ToneMappingParams): EffectPass<{
  uTexture: (__namedParameters: Readonly<EffectUniformContext>) => WebGLTexture;
  uExposure: number;
  uConvertToSRGB: boolean;
}>;

Creates an AgX tone mapping effect. Advanced tone mapping designed for superior highlight handling and color fidelity.

Parameters ​

params? ​

ToneMappingParams

Configuration for the AgX tone mapping.

Returns ​

EffectPass<{ uTexture: (__namedParameters: Readonly<EffectUniformContext>) => WebGLTexture; uExposure: number; uConvertToSRGB: boolean; }>

Released under the MIT License.