Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -233,13 +233,12 @@ export async function initializeViewer(config, instanceId) {
|
|
| 233 |
matSol.emissive = new pc.Color([0.1,0.5,1]);
|
| 234 |
matSol.emissiveMap = grilleTex;
|
| 235 |
matSol.emissiveIntensity = 1;
|
| 236 |
-
matSol.opacity = 0;
|
| 237 |
matSol.useLighting = false;
|
| 238 |
matSol.update();
|
| 239 |
|
| 240 |
let matSol1 = new pc.StandardMaterial();
|
| 241 |
matSol1.blendType = pc.BLEND_NONE;
|
| 242 |
-
matSol1.emissive = new pc.Color([0.
|
| 243 |
matSol1.emissiveMap = grilleTex;
|
| 244 |
matSol1.emissiveIntensity = 1;
|
| 245 |
matSol1.useLighting = false;
|
|
|
|
| 233 |
matSol.emissive = new pc.Color([0.1,0.5,1]);
|
| 234 |
matSol.emissiveMap = grilleTex;
|
| 235 |
matSol.emissiveIntensity = 1;
|
|
|
|
| 236 |
matSol.useLighting = false;
|
| 237 |
matSol.update();
|
| 238 |
|
| 239 |
let matSol1 = new pc.StandardMaterial();
|
| 240 |
matSol1.blendType = pc.BLEND_NONE;
|
| 241 |
+
matSol1.emissive = new pc.Color([0.4,0.7,1]);
|
| 242 |
matSol1.emissiveMap = grilleTex;
|
| 243 |
matSol1.emissiveIntensity = 1;
|
| 244 |
matSol1.useLighting = false;
|