From 82ffa91927ff2aae20d2d657fc72c0c223848445 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期五, 31 十二月 2021 10:55:21 +0800
Subject: [PATCH] #
---
static/js/object/StoreConvey.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/static/js/object/StoreConvey.js b/static/js/object/StoreConvey.js
index 8c05ac1..8697cd7 100644
--- a/static/js/object/StoreConvey.js
+++ b/static/js/object/StoreConvey.js
@@ -38,12 +38,12 @@
obj.traverse (function (child) {
if (child instanceof THREE.Mesh) {
child.scale.set(1, 1, 1.6);
- child.material = new THREE.MeshLambertMaterial({
+ child.material = new THREE.MeshPhysicalMaterial({
color: 0x444444
});
if (child.name === "Box034" || child.name === "Box035") {
- child.material = new THREE.MeshLambertMaterial({
- color: 0x000000
+ child.material = new THREE.MeshPhysicalMaterial({
+ color: 0x1C1C1C
});
}
child.castShadow = true;
@@ -59,7 +59,7 @@
obj.traverse (function (child) {
if (child instanceof THREE.Mesh) {
child.scale.set(0.5, 1, 1);
- child.material = new THREE.MeshLambertMaterial({
+ child.material = new THREE.MeshPhysicalMaterial({
color: 0x444444
});
child.castShadow = true;
@@ -74,7 +74,7 @@
obj.traverse (function (child) {
if (child instanceof THREE.Mesh) {
child.scale.set(1, 1, 1);
- child.material = new THREE.MeshLambertMaterial({
+ child.material = new THREE.MeshPhysicalMaterial({
color: 0x444444
});
}
--
Gitblit v1.9.1