mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-02 16:04:20 +02:00
Update woodRingsPendantLight.ts
This commit is contained in:
@@ -96,10 +96,10 @@ export const woodRingsPendantLight = defineObject({
|
|||||||
applyLightColor();
|
applyLightColor();
|
||||||
|
|
||||||
const applyLightBrightness = () => {
|
const applyLightBrightness = () => {
|
||||||
light.intensity = 1 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE;
|
light.intensity = 2 * options.lightBrightness * WORLD_SCALE * WORLD_SCALE;
|
||||||
light.range = cm(200) * getLightRangeFactorByGraphicsQuality(graphicsQuality);
|
light.range = cm(200) * getLightRangeFactorByGraphicsQuality(graphicsQuality);
|
||||||
const emissive = lamp.material as BABYLON.PBRMaterial;
|
const emissive = lamp.material as BABYLON.PBRMaterial;
|
||||||
emissive.emissiveIntensity = options.lightBrightness * 10;
|
emissive.emissiveIntensity = options.lightBrightness * 20;
|
||||||
};
|
};
|
||||||
|
|
||||||
applyLightBrightness();
|
applyLightBrightness();
|
||||||
|
|||||||
Reference in New Issue
Block a user