86dac330a5
Smooth lighting and ambient occlusion now follow BlockModelLighter (cubic/partial faces, diagonal samples through light-permeable blocks, light blending with the sky-borrow and zero rules, partial-face weights), with vanilla's integer colour arithmetic, cardinal shading, quad light emission, flat lighting for emitting or non-AO blocks, tint source counts and random block offsets. Fluids follow FluidRenderer: occlusion against neighbour face shapes, legacy-solid corner heights, flow-rotated UVs with Mth.atan2 and the sine table, water overlay beside glass and leaves, back faces and max(self, above) light. Flat model elements skip their degenerate faces like UnbakedCuboidGeometry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>