MikaFil commited on
Commit
ee2ed3f
·
verified ·
1 Parent(s): 8bfe45d

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +1 -1
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
- //glossyRedMat.useDynamicRefraction = true;
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;