Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -221,7 +221,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 221 |
if(config.glbUrl == undefined){
|
| 222 |
let matSol = new pc.StandardMaterial();
|
| 223 |
matSol.blendType = pc.BLEND_NORMAL;
|
| 224 |
-
matSol.
|
| 225 |
matSol.emissiveIntensity = 1;
|
| 226 |
matSol.update();
|
| 227 |
|
|
|
|
| 221 |
if(config.glbUrl == undefined){
|
| 222 |
let matSol = new pc.StandardMaterial();
|
| 223 |
matSol.blendType = pc.BLEND_NORMAL;
|
| 224 |
+
matSol.emissive = new pc.Color(color_bg);
|
| 225 |
matSol.emissiveIntensity = 1;
|
| 226 |
matSol.update();
|
| 227 |
|