mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
The Cesium renderer lists modelAtmosphere
Cesium's models already take the atmosphere's scattering, in the stage that draws distance fog; the capability now says so, and the contract doc says it follows the sky's fog setting there.
This commit is contained in:
1 parent
d249ef24eb
commit
8122199887
3 files changed
+8
-1
No files matched your search
@@ -30,7 +30,7 @@ test('capabilities follow what the scene supports', () => {
|
||||
'surfaceShading',
|
||||
];
|
||||
const globe = { show: true };
|
||||
const draw = ['models', 'quads', 'meshes', 'fields'];
|
||||
const draw = ['models', 'modelAtmosphere', 'quads', 'meshes', 'fields'];
|
||||
assert.deepEqual(cesiumCapabilities({}), [...draw, ...effects]);
|
||||
// A scene with a globe reads its visibility back.
|
||||
assert.deepEqual(cesiumCapabilities({ globe }), [
|
||||
|
||||
Reference in new issue
Block a user