Capítulo 768 de 859

Chapter 768: ShadowMaskModel

Core Idea

Represents lighting model for a shadow material. Used in ShadowNodeMaterial.

Key Concepts

  • shadowNode : Node: The shadow mask node.

Reference Tables

Constructor

Signature
new ShadowMaskModel()

Properties

PropertyDescription
.shadowNode : NodeThe shadow mask node.

Methods

MethodDescription
.direct( input : Object )Only used to save the shadow mask.
.finish( builder : NodeBuilder )Uses the shadow mask to produce the final color.

Key Takeaways

  1. ShadowMaskModel extends: LightingModel
  2. Most relevant properties: shadowNode.
  3. Key methods: direct, finish.

Connects To