AdaptiveLuminanceMaterial
Extends:
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 |
setAdaptationRate(value: Number) this method was deprecated. Use adaptationRate instead.
Sets the luminance adaptation rate. |
|
public |
setDeltaTime(value: Number) 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 |
setMinLuminance(value: Number) this method was deprecated. Use minLuminance instead.
Sets the minimum luminance. |
|
public |
setMipLevel1x1(value: Number) this method was deprecated. Use mipLevel1x1 instead.
Sets the 1x1 mipmap level. |
Public Constructors
Public Members
public set adaptationRate source
public set luminanceBuffer0: Texture source
The primary luminance buffer that contains the downsampled average luminance.
public set minLuminance source
Public Methods
public getAdaptationRate(): Number source
Returns the luminance adaptation rate.
public getMinLuminance(): Number source
Returns the lowest possible luminance value.
public setAdaptationRate(value: Number) source
Sets the luminance adaptation rate.
Params:
Name | Type | Attribute | Description |
value | Number | The adaptation rate. |
public setDeltaTime(value: Number) source
Sets the delta time.
Params:
Name | Type | Attribute | Description |
value | Number | The delta time. |
public setLuminanceBuffer0(value: Texture) source
Sets the primary luminance buffer that contains the downsampled average luminance.
Params:
Name | Type | Attribute | Description |
value | Texture | The buffer. |
public setLuminanceBuffer1(value: Texture) source
Sets the secondary luminance buffer.
Params:
Name | Type | Attribute | Description |
value | Texture | The buffer. |