MikaFil commited on
Commit
dcd9ae2
·
verified ·
1 Parent(s): 4790b9e

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +2 -2
viewer.js CHANGED
@@ -206,7 +206,7 @@ export async function initializeViewer(config, instanceId) {
206
 
207
 
208
  // /!\ ======================================== /!\
209
- const grilleTex = await loadImageAsTexture('https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/textures/grille_cadrillee_4k.jpg', app);
210
  // /!\ ======================================== /!\
211
  for (const key in assets) app.assets.add(assets[key]);
212
 
@@ -235,7 +235,7 @@ export async function initializeViewer(config, instanceId) {
235
  matSol.blendType = pc.BLEND_NONE;
236
  matSol.emissive = new pc.Color(color_bg);
237
  matSol.emissiveIntensity = 1;
238
- matSol.emissiveMap = grilleTex;
239
  matSol.useLighting = false;
240
  matSol.update();
241
 
 
206
 
207
 
208
  // /!\ ======================================== /!\
209
+ //const grilleTex = await loadImageAsTexture('https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/textures/grille_cadrillee_4k.jpg', app);
210
  // /!\ ======================================== /!\
211
  for (const key in assets) app.assets.add(assets[key]);
212
 
 
235
  matSol.blendType = pc.BLEND_NONE;
236
  matSol.emissive = new pc.Color(color_bg);
237
  matSol.emissiveIntensity = 1;
238
+ //matSol.emissiveMap = grilleTex;
239
  matSol.useLighting = false;
240
  matSol.update();
241