0431f12a6f
Complementary Unbound drew clouds and light shafts inside terrain and a second sun because the full-screen passes got wrong inputs: - eyeBrightness was a constant (0, 240), so packs saw open sky underground. It is now the block and sky light of the camera entity's eye block (CommonUniforms.getEyeBrightness), and eyeBrightnessSmooth follows it with the pack's eyeBrightnessHalflife (SmoothedFloat). - Custom uniforms (uniform.* / variable.* in shaders.properties) were all 0: Complementary's eyeBrightnessM, isEyeInCave, starter, framemod8 and the rest. horizon-shaderpack's uniforms.rs parses and evaluates them each frame like Iris (stareval priorities, IrisFunctions, SmoothFloat). - sunPosition, moonPosition, shadowLightPosition, sunAngle and shadowAngle now follow CelestialUniforms: the sky's sun and moon angles turned by Y -90, the pack's sunPathRotation about Z, then the angle. The old sun vector pointed north-south instead of east-west. - While a Java pack runs, sunPathRotation tilts Horizon's sun, moon and stars as Iris tilts vanilla's, and clouds = off | fast | fancy, sun and moon = false apply. Complementary and Sildur's set clouds = off; the vanilla clouds Horizon drew anyway wrote depth the packs' light shafts and fog took for terrain. Fixes #944 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>