MikaFil commited on
Commit
eab5543
·
verified ·
1 Parent(s): 9f953f4

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +1 -1
viewer.js CHANGED
@@ -230,7 +230,7 @@ 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.emissiveMap = grilleTex;
235
  matSol.emissiveIntensity = 0.1;
236
  matSol.update();
 
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([0.1,0.5,1]);
234
  matSol.emissiveMap = grilleTex;
235
  matSol.emissiveIntensity = 0.1;
236
  matSol.update();