Skip to content

Commit

Permalink
Fix lightmapper baking for WebGL
Browse files Browse the repository at this point in the history
  • Loading branch information
heretique committed Sep 3, 2024
1 parent 0d3fbe2 commit 43b99d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/framework/lightmapper/lightmapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,8 @@ class Lightmapper {

} else { // use the old path for WebGL till the render pass way above is fixed

device._uploadDirtyTextures();

// ping-ponging output
this.renderer.setCamera(this.camera, tempRT, true);

Expand Down

0 comments on commit 43b99d0

Please sign in to comment.