MikaFil commited on
Commit
6153209
·
verified ·
1 Parent(s): 8f28cf2

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +2 -1
viewer.js CHANGED
@@ -230,7 +230,8 @@ export async function initializeViewer(config, instanceId) {
230
  const grilleTex = loadImageAsTexture("https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/textures/grille_cadrillee_4k.jpg", app);
231
  let matSol = new pc.StandardMaterial();
232
  matSol.blendType = pc.BLEND_NONE;
233
- matSol.emissive = new pc.Color(color_bg);
 
234
  matSol.emissiveIntensity = 1;
235
  matSol.update();
236
 
 
230
  const grilleTex = loadImageAsTexture("https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/textures/grille_cadrillee_4k.jpg", app);
231
  let matSol = new pc.StandardMaterial();
232
  matSol.blendType = pc.BLEND_NONE;
233
+ //matSol.emissive = new pc.Color(color_bg);
234
+ matSol.emissive = new pc.Color([0.2,0.4,1]);
235
  matSol.emissiveIntensity = 1;
236
  matSol.update();
237