mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 09:44:11 +02:00
Update ductRailSpotLights.ts
This commit is contained in:
@@ -87,12 +87,12 @@ export const ductRailSpotLights = defineObject({
|
|||||||
|
|
||||||
const applyLightBrightness = () => {
|
const applyLightBrightness = () => {
|
||||||
for (const light of lights) {
|
for (const light of lights) {
|
||||||
light.intensity = 1 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE;
|
light.intensity = 2 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE;
|
||||||
light.range = cm(300) * options.lightBrightness;
|
light.range = cm(300);
|
||||||
}
|
}
|
||||||
for (const lamp of lamps) {
|
for (const lamp of lamps) {
|
||||||
const emissive = lamp.material as BABYLON.PBRMaterial;
|
const emissive = lamp.material as BABYLON.PBRMaterial;
|
||||||
emissive.emissiveIntensity = options.lightBrightness * 10;
|
emissive.emissiveIntensity = options.lightBrightness * 20;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user