This node represents a tone mapping operation.
Constructor
new ToneMappingNode(toneMapping, exposureNode?, colorNode?)| Parameter | Type | Default Value |
|---|---|---|
| toneMapping | number | — |
| exposureNode? | Node | toneMappingExposure |
| colorNode? | Node | null |
Constructs a new tone mapping node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| _toneMapping | number | — | |
| exposureNode | Node | — | |
| colorNode | null | Node | — | |
| Method | Type | |
|---|---|---|
| customCacheKey | () => number | |
| setToneMapping | (value: number) => ToneMappingNode | |
| getToneMapping | () => number | |
| setup | (builder: any) => any | |
Extends
TempNodeTSL function for creating a tone mapping node.
| Parameter | Type | Default Value |
|---|---|---|
| mapping | number | — |
| exposure | any | — |
| color | any | — |
Returns
ToneMappingNode<vec3>TSL object that represents the global tone mapping exposure of the renderer.
Type
RendererReferenceNode<vec3>