3d0b76400b
Keeps #905's single command buffer and #939's occlusion culling: distant tiles draw in phase 1, so phase 2 stays exactly the deferred sections the culling test reads back, and the flat path's origins include the tiles in main's relocated upload block. Adapts to main's APIs: block sprites and models now live in RenderAssets (WorkerContext::render), BlockFacts behind Resources::facts(), and terrain vertices hold the UV as 16-bit fixed point (#df58a474). Merged distant faces repeat their sprite once per block, which the [0, 2) section UVs cannot hold, so tile vertices now store UVs from the face's corner in 1/32-block steps (TerrainVertex::tiled, faces split at 1024 blocks) and the instance's origin.w carries the UV step: 1/32768 for sections (decodes exactly as before), 1/32 for tiles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>