6a58fc20da
When a Java pack has a terrain program (gbuffers_terrain, or the program Iris falls back to), Horizon's world pass skips its own terrain and the pack's program draws every visible section into its render targets, tested against the depth of the rest of the world; gbuffers_water draws the translucent layer before the first composite with the pack's blend modes. depthtex0/depthtex1 get the depth before and after water. - translate: a geometry mode (group 2, attributes as globals a glue function fills before main, alpha test) and a pass that ends switch cases which return, which naga's WGSL writer otherwise rejects (Photon). - java_terrain: the glue decoding Horizon's terrain vertices from the arena pages into Iris's attributes, the block.properties id table by sprite name, and a 2D atlas built from the sprite arrays (animated sprites copied in). - RGBA16/RG16/R16 targets are 16-bit unorm where the GPU renders them: Chocapic13' packs its G-buffer into them. MakeUp Ultra Fast, Chocapic13' and BSL draw their own terrain and water on the M4 Pro; Photon still draws black (compute and .dat textures). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>