File: RectAreaLightNode.md | Updated: 11/15/2025
Module for representing rect area lights as nodes.
Constructs a new rect area light node.
light | The rect area light source. Default is null.
---|---
Uniform node representing the half height of the are light.
Uniform node representing the half width of the are light.
The updateType is set to NodeUpdateType.RENDER since the light relies on viewMatrix which might vary per render call.
Default is 'render'.
Overrides: AnalyticLightNode#updateType
Overwritten to updated rect area light specific uniforms.
frame | A reference to the current node frame.
---|---
Overrides: AnalyticLightNode#update
Used to configure the internal BRDF approximation texture data.
ltc | The BRDF approximation texture data.
---|---