Home Reference Source
import {AdaptiveLuminanceMaterial} from 'postprocessing'
public class | source

AdaptiveLuminanceMaterial

Extends:

three~ShaderMaterial → AdaptiveLuminanceMaterial

An adaptive luminance shader material.

Constructor Summary

Public Constructor
public

Constructs a new adaptive luminance material.

Member Summary

Public Members
public get

The luminance adaptation rate.

public set
public set

The delta time.

public set

luminanceBuffer0: Texture

The primary luminance buffer that contains the downsampled average luminance.

public set

luminanceBuffer1: Texture

The secondary luminance buffer.

public get

The lowest possible luminance value.

public set
public set

The 1x1 mipmap level.

public

Method Summary

Public Methods
public
this method was deprecated. Use adaptationRate instead.

Returns the luminance adaptation rate.

public
this method was deprecated. Use minLuminance instead.

Returns the lowest possible luminance value.

public
this method was deprecated. Use adaptationRate instead.

Sets the luminance adaptation rate.

public
this method was deprecated. Use deltaTime instead.

Sets the delta time.

public

setLuminanceBuffer0(value: Texture)

this method was deprecated. Use luminanceBuffer0 instead.

Sets the primary luminance buffer that contains the downsampled average luminance.

public

setLuminanceBuffer1(value: Texture)

this method was deprecated. Use luminanceBuffer1 instead.

Sets the secondary luminance buffer.

public
this method was deprecated. Use minLuminance instead.

Sets the minimum luminance.

public
this method was deprecated. Use mipLevel1x1 instead.

Sets the 1x1 mipmap level.

Public Constructors

public constructor() source

Constructs a new adaptive luminance material.

Public Members

public get adaptationRate: Number source

The luminance adaptation rate.

public set adaptationRate source

public set deltaTime: Number source

The delta time.

public set luminanceBuffer0: Texture source

The primary luminance buffer that contains the downsampled average luminance.

public set luminanceBuffer1: Texture source

The secondary luminance buffer.

public get minLuminance: Number source

The lowest possible luminance value.

public set minLuminance source

public set mipLevel1x1: Number source

The 1x1 mipmap level.

This level is used to identify the smallest mipmap of the primary luminance buffer.

public needsUpdate: boolean source

Public Methods

public getAdaptationRate(): Number source

this method was deprecated. Use adaptationRate instead.

Returns the luminance adaptation rate.

Return:

Number

The adaptation rate.

public getMinLuminance(): Number source

this method was deprecated. Use minLuminance instead.

Returns the lowest possible luminance value.

Return:

Number

The minimum luminance.

public setAdaptationRate(value: Number) source

this method was deprecated. Use adaptationRate instead.

Sets the luminance adaptation rate.

Params:

NameTypeAttributeDescription
value Number

The adaptation rate.

public setDeltaTime(value: Number) source

this method was deprecated. Use deltaTime instead.

Sets the delta time.

Params:

NameTypeAttributeDescription
value Number

The delta time.

public setLuminanceBuffer0(value: Texture) source

this method was deprecated. Use luminanceBuffer0 instead.

Sets the primary luminance buffer that contains the downsampled average luminance.

Params:

NameTypeAttributeDescription
value Texture

The buffer.

public setLuminanceBuffer1(value: Texture) source

this method was deprecated. Use luminanceBuffer1 instead.

Sets the secondary luminance buffer.

Params:

NameTypeAttributeDescription
value Texture

The buffer.

public setMinLuminance(value: Number) source

this method was deprecated. Use minLuminance instead.

Sets the minimum luminance.

Params:

NameTypeAttributeDescription
value Number

The minimum luminance.

public setMipLevel1x1(value: Number) source

this method was deprecated. Use mipLevel1x1 instead.

Sets the 1x1 mipmap level.

Params:

NameTypeAttributeDescription
value Number

The level.