Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -276,8 +276,9 @@ export async function initializeViewer(config, instanceId) {
|
|
| 276 |
mat.useMetalness = true;
|
| 277 |
mat.useDynamicRefraction = true;
|
| 278 |
mat.thickness = 1;
|
| 279 |
-
mat.specular = new pc.Color(0.01, 0.01, 0.01);
|
| 280 |
-
mat.gloss =
|
|
|
|
| 281 |
mat.metalness = 0;
|
| 282 |
mat.update();
|
| 283 |
}
|
|
|
|
| 276 |
mat.useMetalness = true;
|
| 277 |
mat.useDynamicRefraction = true;
|
| 278 |
mat.thickness = 1;
|
| 279 |
+
//mat.specular = new pc.Color(0.01, 0.01, 0.01);
|
| 280 |
+
mat.gloss = 1;
|
| 281 |
+
mat.glossInvert = true;
|
| 282 |
mat.metalness = 0;
|
| 283 |
mat.update();
|
| 284 |
}
|