Skip to content

hableToneMapping()

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

Creates a Hable (Uncharted 2) tone mapping effect. Known for its good contrast and film-like look.

Parameters

params?

ToneMappingParams

Configuration for the Hable tone mapping.

Returns

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

Released under the MIT License.