|
|
@@ -6,6 +6,7 @@ import { renderGroup } from '../core/UniformGroupNode.js';
|
|
|
|
|
|
import { Matrix4 } from '../../math/Matrix4.js';
|
|
|
import { Vector3 } from '../../math/Vector3.js';
|
|
|
+import { NodeUpdateType } from '../core/constants.js';
|
|
|
|
|
|
const _matrix41 = /*@__PURE__*/ new Matrix4();
|
|
|
const _matrix42 = /*@__PURE__*/ new Matrix4();
|
|
|
@@ -27,6 +28,8 @@ class RectAreaLightNode extends AnalyticLightNode {
|
|
|
this.halfHeight = uniform( new Vector3() ).setGroup( renderGroup );
|
|
|
this.halfWidth = uniform( new Vector3() ).setGroup( renderGroup );
|
|
|
|
|
|
+ this.updateType = NodeUpdateType.RENDER;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
update( frame ) {
|