mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update woodRingFloorLamp.ts
This commit is contained in:
parent
f6677aa02c
commit
f4a060b9a8
1 changed files with 5 additions and 1 deletions
|
|
@ -73,6 +73,10 @@ export const woodRingFloorLamp = defineObject({
|
|||
for (const light of lights) {
|
||||
light.diffuse = new BABYLON.Color3(r, g, b);
|
||||
}
|
||||
for (const lamp of lamps) {
|
||||
const emissive = lamp.material as BABYLON.PBRMaterial;
|
||||
emissive.emissiveColor = new BABYLON.Color3(r, g, b);
|
||||
}
|
||||
};
|
||||
|
||||
applyLightColor();
|
||||
|
|
@ -83,7 +87,7 @@ export const woodRingFloorLamp = defineObject({
|
|||
}
|
||||
for (const lamp of lamps) {
|
||||
const emissive = lamp.material as BABYLON.PBRMaterial;
|
||||
emissive.emissiveIntensity = options.lightBrightness * 5;
|
||||
emissive.emissiveIntensity = options.lightBrightness * 10;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue