Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -199,7 +199,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 199 |
glossyRedMat.gloss = 1;
|
| 200 |
glossyRedMat.metalness = 0.0;
|
| 201 |
glossyRedMat.useMetalness = true;
|
| 202 |
-
|
| 203 |
glossyRedMat.refraction= 0.8;
|
| 204 |
glossyRedMat.refractionIndex = 0.5;
|
| 205 |
glossyRedMat.thickness = 5;
|
|
|
|
| 199 |
glossyRedMat.gloss = 1;
|
| 200 |
glossyRedMat.metalness = 0.0;
|
| 201 |
glossyRedMat.useMetalness = true;
|
| 202 |
+
glossyRedMat.useDynamicRefraction = true;
|
| 203 |
glossyRedMat.refraction= 0.8;
|
| 204 |
glossyRedMat.refractionIndex = 0.5;
|
| 205 |
glossyRedMat.thickness = 5;
|