Repository navigation
Conversation
Looking toward the sun, the fair-weather cumulus washed out to white: the eye sees the clouds with a real cloud's extinction scaled down, for their soft look, and the sun's light through that lit a cumulus' whole base. In them, the shadow map's depth beyond what the samples near a point see, the cloud above it, now counts three times, as does the direct beam the light scattered down from their top is net of: their bases are gray under sunlit tops and only their thin edges glow toward the sun, the near samples keeping their sunlit sides bright. The rain's clouds keep their depth, the overcast as it was. The factor follows the point lit: a cumulus shaded by a rain tower at the shield's edge sees the tower deeper too.
fredj
marked this pull request as ready for review
November 19, 2026 22:03
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #327 (its base): looking toward the sun, #327's fair-weather cumulus wash out to white. The eye sees the clouds with a real cloud's extinction scaled down, for their soft look, and the sun's light through that lights a cumulus' whole base.
Tested:
npm test, typecheck, build-demos; the weather demo at 2026-11-13 12 UTC, against #327 (mean luminance): over dry ground toward the sun 182 (blown out) to 165 with gray bases, away from it 152 to 149, from 12 km above 178 to 172; the rain deck views identical. GPU time unchanged within the timer's noise. Known limit: the factor follows the point lit, so a cumulus shaded by a rain tower at the shield's edge sees the tower deeper too.