优化
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yinsx
2026-01-05 16:30:14 +08:00
parent 661aa63f9f
commit 260c7e706c
6 changed files with 0 additions and 51 deletions

View File

@ -38,23 +38,5 @@ export class AppLight extends Monobehiver {
"mainLight",
new Vector3(0, -0.5, -1),
);
light.position = new Vector3(-0.6, 2.12, 2);
light.diffuse = new Color3(1, 0.86, 0.80);
light.specular = new Color3(1, 1, 1);
light.intensity = 1;
light.shadowMinZ = 0.01;
light.shadowMaxZ = 100;
const generator = new ShadowGenerator(4096, light);
generator.usePercentageCloserFiltering = true;
generator.filteringQuality = ShadowGenerator.QUALITY_HIGH;
generator.transparencyShadow = true;
this.lightList.push(light);
this.shadowGenerator = generator;
}
}