1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 14:05:35 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-04-29 16:58:11 +09:00
parent 27578f2688
commit e50d4fa8ab

View File

@@ -1110,6 +1110,7 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
} else {
if (def.receiveShadows !== false) mesh.receiveShadows = true;
if (def.castShadows !== false) {
// TODO: メモリリークしそうだからいい感じにする
this.shadowGeneratorForRoomLight?.addShadowCaster(mesh);
this.shadowGeneratorForSunLight?.addShadowCaster(mesh);
}