Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -227,7 +227,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 227 |
|
| 228 |
if(!espace_expo_bool){
|
| 229 |
|
| 230 |
-
|
| 231 |
let matSol = new pc.StandardMaterial();
|
| 232 |
matSol.blendType = pc.BLEND_NONE;
|
| 233 |
matSol.emissive = new pc.Color(color_bg);
|
|
|
|
| 227 |
|
| 228 |
if(!espace_expo_bool){
|
| 229 |
|
| 230 |
+
const bgTex = loadImageAsTexture('https://huggingface.co/datasets/MikaFil/3D_models/resolve/main/EARCARE/images/banniere_earcare.png', app);
|
| 231 |
let matSol = new pc.StandardMaterial();
|
| 232 |
matSol.blendType = pc.BLEND_NONE;
|
| 233 |
matSol.emissive = new pc.Color(color_bg);
|