Skip to content

Commit 43b99d0

Browse files
committed
Fix lightmapper baking for WebGL
1 parent 0d3fbe2 commit 43b99d0

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
@@ -1115,6 +1115,8 @@ class Lightmapper {
11151115

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

1118+
device._uploadDirtyTextures();
1119+
11181120
// ping-ponging output
11191121
this.renderer.setCamera(this.camera, tempRT, true);
11201122

0 commit comments

Comments
 (0)