We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
update()
1 parent 09c38ab commit 83c3f72Copy full SHA for 83c3f72
src/nodes/lighting/RectAreaLightNode.js
@@ -6,6 +6,7 @@ import { renderGroup } from '../core/UniformGroupNode.js';
6
7
import { Matrix4 } from '../../math/Matrix4.js';
8
import { Vector3 } from '../../math/Vector3.js';
9
+import { NodeUpdateType } from '../core/constants.js';
10
11
const _matrix41 = /*@__PURE__*/ new Matrix4();
12
const _matrix42 = /*@__PURE__*/ new Matrix4();
@@ -27,6 +28,8 @@ class RectAreaLightNode extends AnalyticLightNode {
27
28
this.halfHeight = uniform( new Vector3() ).setGroup( renderGroup );
29
this.halfWidth = uniform( new Vector3() ).setGroup( renderGroup );
30
31
+ this.updateType = NodeUpdateType.RENDER;
32
+
33
}
34
35
update( frame ) {
0 commit comments