Skip to content

Commit 701da44

Browse files
authored
Fix assignment of clustered lighting cells (#7558)
1 parent 245d7c0 commit 701da44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scene/lighting/lighting-params.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class LightingParams {
7171
this.maxLightsPerCell = render.lightingMaxLightsPerCell ?? this.maxLightsPerCell;
7272
this.shadowType = render.lightingShadowType ?? this.shadowType;
7373
if (render.lightingCells) {
74-
this.cell = new Vec3(render.lightingCells);
74+
this.cells = new Vec3(render.lightingCells);
7575
}
7676
}
7777

0 commit comments

Comments
 (0)