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