Skip to content

Commit 5b2b715

Browse files
committed
Fix lightmapper baking for WebGL
1 parent b6e5915 commit 5b2b715

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/framework/lightmapper/lightmapper.js

+2
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,8 @@ class Lightmapper {
11071107

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

1110+
device._uploadDirtyTextures();
1111+
11101112
// ping-ponging output
11111113
this.renderer.setCamera(this.camera, tempRT, true);
11121114

0 commit comments

Comments
 (0)