three-base 2.0.83 → 2.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/threeLoader.js +3 -3
- package/threeLoader.ts +3 -3
package/package.json
CHANGED
package/threeLoader.js
CHANGED
|
@@ -155,9 +155,9 @@ class ThreeLoader extends EventDispatcher {
|
|
|
155
155
|
else if (["stl"].includes(suffix)) {
|
|
156
156
|
await threeLoader.stlLoader.loadAsync(url).then(geometry => {
|
|
157
157
|
Object3d = new Mesh(geometry, new MeshStandardMaterial({
|
|
158
|
-
color: "#
|
|
159
|
-
metalness: 0
|
|
160
|
-
roughness: 0.
|
|
158
|
+
color: "#eeeeee",
|
|
159
|
+
metalness: 0,
|
|
160
|
+
roughness: 0.5,
|
|
161
161
|
envMapIntensity: 0.4
|
|
162
162
|
}));
|
|
163
163
|
}).catch(() => {
|
package/threeLoader.ts
CHANGED
|
@@ -186,9 +186,9 @@ class ThreeLoader extends EventDispatcher {
|
|
|
186
186
|
} else if (["stl"].includes(suffix)) {
|
|
187
187
|
await threeLoader.stlLoader.loadAsync(url).then(geometry => {
|
|
188
188
|
Object3d = new Mesh(geometry, new MeshStandardMaterial({
|
|
189
|
-
color: "#
|
|
190
|
-
metalness: 0
|
|
191
|
-
roughness: 0.
|
|
189
|
+
color: "#eeeeee",
|
|
190
|
+
metalness: 0,
|
|
191
|
+
roughness: 0.5,
|
|
192
192
|
envMapIntensity: 0.4
|
|
193
193
|
}));
|
|
194
194
|
}).catch(() => {
|