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 Jan 3, 2025
1 parent b6e5915 commit 5b2b715
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 @@ -1107,6 +1107,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 5b2b715

Please sign in to comment.