mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Run styles, bloom and sharpen through a Cesium effects port
The effects port puts each style the app defines on its own post-process stage, takes the scene's bloom stage and adds a sharpen stage, with the mappings the application uses today. An animated style holds frames and advances its time uniform while it draws. A replaced style keeps drawing until its intensity is 0, so the app can crossfade; the contract, the stub and a new conformance check say so. The conformance renderer has the port; the application renderer does not yet.
This commit is contained in:
1 parent
765a0db094
commit
bbda6dd0a1
11 files changed
+814
-9
No files matched your search
@@ -9,9 +9,11 @@ import {
|
||||
import { updateCameraChanged } from './internals.js';
|
||||
|
||||
test('capabilities follow what the scene supports', () => {
|
||||
assert.deepEqual(cesiumCapabilities({}), ['models']);
|
||||
const effects = ['styles', 'bloom', 'sharpen'];
|
||||
assert.deepEqual(cesiumCapabilities({}), ['models', ...effects]);
|
||||
assert.deepEqual(cesiumCapabilities({ pickPositionSupported: true }), [
|
||||
'models',
|
||||
...effects,
|
||||
'pickPosition',
|
||||
]);
|
||||
assert.deepEqual(
|
||||
@@ -19,7 +21,14 @@ test('capabilities follow what the scene supports', () => {
|
||||
pickPositionSupported: true,
|
||||
sampleHeightSupported: true,
|
||||
}),
|
||||
['models', 'pickPosition', 'sampleHeight', 'finestHeights', 'rayCast'],
|
||||
[
|
||||
'models',
|
||||
...effects,
|
||||
'pickPosition',
|
||||
'sampleHeight',
|
||||
'finestHeights',
|
||||
'rayCast',
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user