Capítulo 453 de 859
This node represents a PMREM which is a special type of preprocessed environment map intended for PBR materials.
updateBeforeType is set to NodeUpdateType.RENDER.const material = new MeshStandardNodeMaterial();
material.envNode = pmremTexture( envMap );
Constructor
| Signature |
|---|
new PMREMNode( value : Texture, uvNode : Node.<vec2>, levelNode : Node.<float> ) |
Properties
| Property | Description |
|---|---|
.levelNode : Node.<float> | The level node. |
.updateBeforeType : string | The updateBeforeType is set to NodeUpdateType.RENDER. |
.uvNode : Node.<vec2> | The uv node. |
.value : Texture | The node's texture value. |
Methods
| Method | Description |
|---|---|
.updateFromTexture( texture : Texture ) | Uses the given PMREM texture to update internal values. |