Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -276,7 +276,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 276 |
// ----- Camera + Orbit Controls -----
|
| 277 |
cameraEntity = new pc.Entity('camera');
|
| 278 |
cameraEntity.addComponent('camera', {
|
| 279 |
-
clearColor: new pc.Color(
|
| 280 |
toneMapping: pc.TONEMAP_NEUTRAL
|
| 281 |
});
|
| 282 |
cameraEntity.setPosition(chosenCameraX, chosenCameraY, chosenCameraZ);
|
|
|
|
| 276 |
// ----- Camera + Orbit Controls -----
|
| 277 |
cameraEntity = new pc.Entity('camera');
|
| 278 |
cameraEntity.addComponent('camera', {
|
| 279 |
+
clearColor: new pc.Color(0.8, 0.8, 0.8, 1),
|
| 280 |
toneMapping: pc.TONEMAP_NEUTRAL
|
| 281 |
});
|
| 282 |
cameraEntity.setPosition(chosenCameraX, chosenCameraY, chosenCameraZ);
|