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

Update ductRailSpotLights.ts

This commit is contained in:
syuilo
2026-05-03 14:11:31 +09:00
parent 3ba902c2b6
commit d132fdfc04

View File

@@ -87,12 +87,12 @@ export const ductRailSpotLights = defineObject({
const applyLightBrightness = () => {
for (const light of lights) {
light.intensity = 1 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE;
light.range = cm(300) * options.lightBrightness;
light.intensity = 2 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE;
light.range = cm(300);
}
for (const lamp of lamps) {
const emissive = lamp.material as BABYLON.PBRMaterial;
emissive.emissiveIntensity = options.lightBrightness * 10;
emissive.emissiveIntensity = options.lightBrightness * 20;
}
};