Occlusion test without Cesium: the depth probe moves to render/occlusion and reads depth textures too

The GPU probe behind query.occlusionTest no longer depends on Cesium: a
renderer hands it the frame's depth through readSource (a DepthSource), and
createDepthOcclusionTest builds the query port's test from it. Besides depth
packed into RGBA8, as Cesium keeps it for picking, it reads a depth texture
(encoding 'depth', on the GPU only), and log depth with no near plane decodes
too. Cesium's sceneOcclusionProbe.js keeps only its scene
reader. Exported as gods-eye-view/render/occlusion.
This commit is contained in:
Sameh Khamis committed 2026-11-10 21:48:04 -08:00
1 parent 619c19ea67
commit 730dff53dd
10 files changed
+952 -706

No files matched your search

+1
View File
@@ -308,6 +308,7 @@
"./geo": "./src/geo/index.js",
"./render/contract": "./src/render/contract/index.js",
"./render/stub": "./src/render/stub/index.js",
"./render/occlusion": "./src/render/occlusion/index.js",
"./render/camera/events": "./src/render/camera/events.js",
"./render/cesium/unbound": "./src/render/cesium/unbound.js",
"./render/conformance": "./src/render/conformance/index.js",