Skip to content

Commit

Permalink
Fix to lightmapper when no baking lights (#5565)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
# Conflicts:
#	src/framework/lightmapper/lightmapper.js
  • Loading branch information
mvaligursky authored and Martin Valigursky committed Aug 16, 2023
1 parent a35d880 commit 6eb9b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/lightmapper/lightmapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ class Lightmapper {
this.setupScene();

// update layer composition
scene.layers._update();
scene.layers._update(device, clusteredLightingEnabled);

// compute bounding boxes for nodes
this.computeNodesBounds(bakeNodes);
Expand Down

0 comments on commit 6eb9b0e

Please sign in to comment.