Capítulo 403 de 859

Chapter 403: CubeMapNode

Core Idea

This node can be used to automatically convert environment maps in the equirectangular format into the cube map format.

Key Concepts

  • envNode : Node: The node representing the environment map.
  • updateBeforeType : string: The updateBeforeType is set to NodeUpdateType.RENDER since the node updates the texture once per render in its [CubeMapNode#updateBefor…

Reference Tables

Constructor

Signature
new CubeMapNode( envNode : Node )

Properties

PropertyDescription
.envNode : NodeThe node representing the environment map.
.updateBeforeType : stringThe updateBeforeType is set to NodeUpdateType.RENDER since the node updates the texture once per render in its CubeMapNode#updateBefore method.

Key Takeaways

  1. CubeMapNode extends: EventDispatcher → Node → TempNode
  2. Most relevant properties: envNode, updateBeforeType.

Connects To