Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -201,7 +201,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 201 |
glossyRedMat.useMetalness = true;
|
| 202 |
//glossyRedMat.useDynamicRefraction = true;
|
| 203 |
glossyRedMat.refraction= 0.8;
|
| 204 |
-
glossyRedMat.refractionIndex =
|
| 205 |
glossyRedMat.thickness = 5;
|
| 206 |
glossyRedMat.thicknessMap = thickness;
|
| 207 |
glossyRedMat.opacityMap = op;
|
|
|
|
| 201 |
glossyRedMat.useMetalness = true;
|
| 202 |
//glossyRedMat.useDynamicRefraction = true;
|
| 203 |
glossyRedMat.refraction= 0.8;
|
| 204 |
+
glossyRedMat.refractionIndex = 0.5;
|
| 205 |
glossyRedMat.thickness = 5;
|
| 206 |
glossyRedMat.thicknessMap = thickness;
|
| 207 |
glossyRedMat.opacityMap = op;
|