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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user