mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +00:00
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.