MikaFil commited on
Commit
6a0679c
·
verified ·
1 Parent(s): 693f25f

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +1 -2
viewer.js CHANGED
@@ -233,13 +233,12 @@ export async function initializeViewer(config, instanceId) {
233
  matSol.emissive = new pc.Color([0.1,0.5,1]);
234
  matSol.emissiveMap = grilleTex;
235
  matSol.emissiveIntensity = 1;
236
- matSol.opacity = 0;
237
  matSol.useLighting = false;
238
  matSol.update();
239
 
240
  let matSol1 = new pc.StandardMaterial();
241
  matSol1.blendType = pc.BLEND_NONE;
242
- matSol1.emissive = new pc.Color([0.1,0.5,1]);
243
  matSol1.emissiveMap = grilleTex;
244
  matSol1.emissiveIntensity = 1;
245
  matSol1.useLighting = false;
 
233
  matSol.emissive = new pc.Color([0.1,0.5,1]);
234
  matSol.emissiveMap = grilleTex;
235
  matSol.emissiveIntensity = 1;
 
236
  matSol.useLighting = false;
237
  matSol.update();
238
 
239
  let matSol1 = new pc.StandardMaterial();
240
  matSol1.blendType = pc.BLEND_NONE;
241
+ matSol1.emissive = new pc.Color([0.4,0.7,1]);
242
  matSol1.emissiveMap = grilleTex;
243
  matSol1.emissiveIntensity = 1;
244
  matSol1.useLighting = false;