MikaFil commited on
Commit
b1d71bf
·
verified ·
1 Parent(s): 0f41910

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +2 -0
viewer.js CHANGED
@@ -232,6 +232,8 @@ export async function initializeViewer(config, instanceId) {
232
  app.root.addChild(presentoirEntity);
233
 
234
  if(!espace_expo_bool){
 
 
235
  let matSol = new pc.StandardMaterial();
236
  matSol.blendType = pc.BLEND_NONE;
237
  matSol.emissive = new pc.Color(color_bg);
 
232
  app.root.addChild(presentoirEntity);
233
 
234
  if(!espace_expo_bool){
235
+
236
+ const grilleTex = loadImageAsTexture("https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/textures/grille_cadrillee_4k.jpg", app);
237
  let matSol = new pc.StandardMaterial();
238
  matSol.blendType = pc.BLEND_NONE;
239
  matSol.emissive = new pc.Color(color_bg);