Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -238,7 +238,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 238 |
let matSol1 = new pc.StandardMaterial();
|
| 239 |
matSol1.blendType = pc.BLEND_NONE;
|
| 240 |
matSol1.emissive = new pc.Color([0.4,0.7,1]);
|
| 241 |
-
|
| 242 |
matSol1.emissiveIntensity = 1;
|
| 243 |
matSol1.useLighting = false;
|
| 244 |
matSol1.update();
|
|
|
|
| 238 |
let matSol1 = new pc.StandardMaterial();
|
| 239 |
matSol1.blendType = pc.BLEND_NONE;
|
| 240 |
matSol1.emissive = new pc.Color([0.4,0.7,1]);
|
| 241 |
+
matSol1.emissiveMap = grilleTex;
|
| 242 |
matSol1.emissiveIntensity = 1;
|
| 243 |
matSol1.useLighting = false;
|
| 244 |
matSol1.update();
|