Spaces:
Running
Running
Update viewer.js
Browse files
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(
|
| 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();
|