Horizon invented the glint: the GUI drew sine bands in screen space and
the entity shader layered the same over held and dropped items. Vanilla
26.3 samples `misc/enchanted_glint_item` through `GLINT_TEXTURING`
(`item.vsh`/`item.fsh`, `TextureTransform.setupGlintTexturing`), so
items now carry the real texture:
- `ItemQuad.foil_uv` keeps the model UV the glint samples; `Glint` turns
it into the atlas UV with the 26.3 transform (translation(-o0, o1) *
rotateZ(PI/18) * scale) and `WorldSink` gives foil quads overlay 7 and
the per-corner glint UV.
- The GUI glint is a separate additive HUD pass masked by the item's
texture alpha (`item.fsh`'s ALPHA_CUTOUT 0.1 and GLINT path).
- `entity.wgsl` samples the glint at overlay 7/8 like vanilla's
`color.rgb += glintColor.rgb * glintColor.rgb`.
- The Accessibility options Glint Speed and Glint Strength work: both
sliders persist to `options.txt` (they were hidden placeholders), the
GUI pass takes them per draw, and `Frame.glint_alpha` feeds the entity
shader every frame instead of whatever the last HUD item set.
- GUI items use `GLINT_TEXTURING`'s scale 8, world items
`ENTITY_GLINT_TEXTURING`'s scale 0.5.
Co-Authored-By: ZCode <agent@zcode.dev>
The cloud mesh radius came from the render distance, the far plane was
capped at max(4 x render distance, 1024) and the cloud fog end was a
constant 2048, so lowering the render distance cut the clouds short.
Vanilla ties all three to options.cloudRange: CloudRenderer.prepare
builds ceil(range * 16 / 12) cells, Camera.depthFar is
max(4 x render distance, range * 16) (also the hand projection, the
frustum and the world border), and AtmosphericFogEnvironment ends
cloud fog at min(range * 16, visual/cloud_fog_end_distance).
The cloud render harness now checks the radius for Cloud Distance
2..128 against the shipped mesh builder, and the environment harness
covers visual/cloud_fog_end_distance.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>