sun_glow
The low sun of Sunfall Ridge as a player sees it: a small, limb-darkened disc many times brighter than the sky (bright enough that bloom and the lens flare fire on it), a tight aureole hugging it, a wide warm halo that bleeds into the sky around it, and faint six-point diffractio…
sun_glow (shader)
The low sun of Sunfall Ridge as a player sees it: a small, limb-darkened disc many times brighter than the sky (bright enough that bloom and the lens flare fire on it), a tight aureole hugging it, a wide warm halo that bleeds into the sky around it, and faint six-point diffraction rays. It is one camera-facing card drawn additively (SunGlow makes the draw), which the vertex hook stands far along the sun's direction from the camera, so no entity moves and the mountain, the wing and the pilot hide it by the depth test.
The colour follows the sun's air mass (Kasten-Young): white-yellow high up, gold and orange lower, a dim red ball at the horizon. It goes out between -0.35 and -1 degrees. The cloud deck's far edge, seen from the camera, cuts the disc and swallows the glow as the sun sinks into it.
Lanes: 0 = the direction toward the sun (xyz) and overall strength (w); 1 = the cloud deck's top (x), its reach (y) and the card's distance (z). Properties: core, disc_radius, aureole, halo, rays, extent (the card's angular half-size) and vertexBoundsDilation (20 km, because the hook places the card far from its draw's own bounds).
Scoped to this part · feeds back into the world's score.