96199c23e7
shadow_entities and shadow_block (each falling back to shadow) load with the entities' vertex inputs unless shadowEntities or shadowBlockEntities is false (spec 2.4, 3.2; both on by default, OQ-19). They draw the same entity and block-entity runs the gbuffers programs would, with the same per-draw uniforms, into the shadow map after the solid terrain and before the shadowtex1 copy. A run is uploaded when a gbuffers program or a shadow program draws it; Horizon still draws the runs no gbuffers program covers. Without a pack nothing changes: only the pack's entity code is touched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>