mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 09:44:11 +02:00
wip
This commit is contained in:
BIN
packages/frontend/assets/room/textures/wall-wood2.png
Normal file
BIN
packages/frontend/assets/room/textures/wall-wood2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
@@ -173,7 +173,7 @@ export class SimpleHeyaManager extends HeyaManager<SimpleHeyaOptions> {
|
|||||||
targetMaterial.unfreeze();
|
targetMaterial.unfreeze();
|
||||||
targetMaterial.albedoColor = new BABYLON.Color3(...wallOptions.color);
|
targetMaterial.albedoColor = new BABYLON.Color3(...wallOptions.color);
|
||||||
|
|
||||||
const texPath = wallOptions.material === 'wood' ? '/client-assets/room/textures/wall-wood.png'
|
const texPath = wallOptions.material === 'wood' ? '/client-assets/room/textures/wall-wood2.png'
|
||||||
: wallOptions.material === 'concrete' ? '/client-assets/room/textures/wall-concrete.png'
|
: wallOptions.material === 'concrete' ? '/client-assets/room/textures/wall-concrete.png'
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
@@ -193,7 +193,7 @@ export class SimpleHeyaManager extends HeyaManager<SimpleHeyaOptions> {
|
|||||||
targetMaterial.unfreeze();
|
targetMaterial.unfreeze();
|
||||||
targetMaterial.albedoColor = new BABYLON.Color3(...wallOptions.hariColor);
|
targetMaterial.albedoColor = new BABYLON.Color3(...wallOptions.hariColor);
|
||||||
|
|
||||||
const texPath = wallOptions.hariMaterial === 'wood' ? '/client-assets/room/textures/wall-wood.png'
|
const texPath = wallOptions.hariMaterial === 'wood' ? '/client-assets/room/textures/wall-wood2.png'
|
||||||
: wallOptions.hariMaterial === 'concrete' ? '/client-assets/room/textures/wall-concrete.png'
|
: wallOptions.hariMaterial === 'concrete' ? '/client-assets/room/textures/wall-concrete.png'
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user