MikaFil commited on
Commit
06448c9
·
verified ·
1 Parent(s): fd5397f

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +3 -2
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 = 0;
 
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
  }