mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Drive the visual styles, bloom and sharpen through the effects port
VisualEffects defines each preset on the renderer and keeps its own records of intensities and parameters, written through to the port, so crossfades, the anime sky fade, bloom and sharpen behave as before. The renderer animates the animated styles. Sensor picks read the style records instead of the renderer's stages. The application renderer now has the effects port and its capabilities.
This commit is contained in:
1 parent
bbda6dd0a1
commit
6a7905fc49
18 files changed
+375
-186
No files matched your search
@@ -37,9 +37,13 @@ const INJECTED = {
|
||||
/**
|
||||
* Modules whose use of the bridge holds up without the factory: with no
|
||||
* port they read Cesium's `trackedEntity` instead, which is all an unbound
|
||||
* viewer can follow by.
|
||||
* viewer can follow by; visual settings ask for the renderer's effects
|
||||
* only, never a camera, and keep their own records without one.
|
||||
*/
|
||||
const FALLS_BACK = new Set(['src/data/followed.js']);
|
||||
const FALLS_BACK = new Set([
|
||||
'src/data/followed.js',
|
||||
'src/ui/visualSettings.js',
|
||||
]);
|
||||
|
||||
const pkg = JSON.parse(readFileSync(path.join(root, 'package.json'), 'utf8'));
|
||||
|
||||
|
||||
Reference in new issue
Block a user