eb79cfdb01
Shadow quads were lifted 0.001 above the block top and drawn in the entity batch with depth writes. LivingEntityRenderer's translate(0, -1.501, 0) puts a model's feet 0.001 above the ground too, so a chicken's feet and the shadow under it were coplanar and flickered (#1440). ShadowFeatureRenderer puts the quads on the block top itself (relativeY + shapeBelow.minY), and RenderPipelines.ENTITY_SHADOW tests depth without writing it. Shadows are now their own entity material (overlay 14) drawn by such a pipeline after the entities. A small depth bias, constant plus 1.5% of the slope, keeps them over the terrain under them, whose vertices snap to the subpixel grid differently (without it whole shadows vanished at some camera positions), while staying under feet 0.001 higher. The shader pack shadow map no longer draws entity shadows as casters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>