mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 16:52:20 +00:00
Draw the visual styles on Navara as one post pass behind an optional render.setStyle capability
CRT, NVG, FLIR, Anime and Noir run their Cesium shaders through a GLSL prelude with the exact sRGB transfer, crossfade in the stage order, fade the Navara stars with Anime, and report the visualStyles capability through engineCapabilities.
This commit is contained in:
1 parent
00dfed7959
commit
4c28cc0212
16 files changed
+1805
-8
No files matched your search
@@ -162,3 +162,14 @@ export const navaraHooks = (view) => ({
|
||||
tileRoots: () => tileRoots(view),
|
||||
isIdle: () => isIdle(view),
|
||||
});
|
||||
|
||||
/**
|
||||
* Stage 6 (QA diagnostics only): the names of the passes in the view's
|
||||
* post-processing pipeline, in draw order, or null when the path is gone.
|
||||
* Private: ctx.renderPassOrchestrator.passMap.list ({ name, pass }).
|
||||
* Upstream ask: a public read of the pipeline order.
|
||||
*/
|
||||
export function pipelinePassNames(ctx) {
|
||||
const list = ctx?.renderPassOrchestrator?.passMap?.list;
|
||||
return Array.isArray(list) ? list.map((entry) => entry.name) : null;
|
||||
}
|
||||
Reference in new issue
Block a user