1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-28 10:34:37 +02:00

Update env.ts

This commit is contained in:
syuilo
2026-05-22 10:39:42 +09:00
parent 47f9f38a40
commit 6cbae336d0

View File

@@ -124,7 +124,7 @@ export class SimpleEnvManager extends EnvManager<SimpleEnvOptions> {
shadowGeneratorForRoomLight.usePercentageCloserFiltering = true;
shadowGeneratorForRoomLight.filteringQuality = BABYLON.ShadowGenerator.QUALITY_HIGH;
if (this.engine.graphicsQuality <= GRAPHICS_QUALITY.MEDIUM) {
shadowGeneratorForRoomLight.getShadowMap().refreshRate = 60;
shadowGeneratorForRoomLight.getShadowMap().refreshRate = 60; // 効いてなさそう babylonのバグ
}
//shadowGeneratorForRoomLight.useContactHardeningShadow = true;
//shadowGeneratorForRoomLight.contactHardeningLightSizeUVRatio = 0.01;
@@ -143,7 +143,7 @@ export class SimpleEnvManager extends EnvManager<SimpleEnvOptions> {
shadowGeneratorForSunLight.usePercentageCloserFiltering = true;
shadowGeneratorForSunLight.usePoissonSampling = true;
if (this.engine.graphicsQuality <= GRAPHICS_QUALITY.MEDIUM) {
shadowGeneratorForSunLight.getShadowMap().refreshRate = 60;
shadowGeneratorForSunLight.getShadowMap().refreshRate = 60; // 効いてなさそう babylonのバグ
}
this.shadowGenerators.push(shadowGeneratorForSunLight);
}