Skip to content

reinhardToneMapping()

ts
function reinhardToneMapping(
  params?: ToneMappingParams & {
    whitePoint?: number;
  },
): EffectPass<{
  uExposure: number;
  uConvertToSRGB: boolean;
  uWhitePoint: number;
}>;

Creates a Reinhard tone mapping effect. This is a simple tone mapping that compresses high intensities into the [0, 1] range.

Parameters

params?

ToneMappingParams & { whitePoint?: number; }

Configuration for the Reinhard tone mapping.

Returns

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

Released under the MIT License.