Update App.tsx and advanced-rendering.ts with new rendering settings

This commit is contained in:
2026-04-02 20:52:43 +02:00
parent 8c4d10d752
commit 37b2dad374
2 changed files with 10 additions and 5 deletions

View File

@@ -147,11 +147,6 @@ export function applyAdvancedRenderingLightShadowFlags(
root.traverse((object) => {
if (object instanceof DirectionalLight || object instanceof PointLight || object instanceof SpotLight) {
object.castShadow = shadowEnabled;
if (!shadowEnabled) {
return;
}
object.shadow.bias = settings.shadows.bias;
object.shadow.mapSize.set(settings.shadows.mapSize, settings.shadows.mapSize);
}