This node can be used to automatically convert environment maps in the equirectangular format into the cube map format.
Constructor
new CubeMapNode(envNode)| Parameter | Type | Default Value |
|---|---|---|
| envNode | Node | — |
Constructs a new cube map node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| envNode | Node | — | |
| _cubeTexture | null | CubeTexture | — | |
| _cubeTextureNode | CubeTextureNode | — | |
| _defaultTexture | CubeTexture | — | |
| Method | Type | |
|---|---|---|
| updateBefore | (frame: any) => void | |
| setup | (builder: any) => CubeTextureNode | |
Extends
TempNodeTSL function for creating a cube map node.
| Parameter | Type | Default Value |
|---|---|---|
| envNode | Node | — |
Returns
CubeMapNode