mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
ShapeItem.lit picks the renderer's fixed light or a flat colour; omitted, extruded shapes and boxes are lit and the rest flat, as they were. The Cesium draw port lights unclamped colour and image fills by it; clamped shapes still drape unlit. A new reference scene, shapes-lit, draws a lit and a flat box and square. LineItem.mode now says a renderer that cannot drape at all draws draped lines and clamped shapes as overlay, and clampState() says overlay. The Cesium port says overlay when its context has no depth textures, which only a WebGL 1 context can lack.