Soften caustic light rays for a more natural underwater look#7
Merged
Conversation
Make the god rays read as filtered sunlight rather than stage lights. Changes: - Lower max alpha from ~0.20 to ~0.09. The rays are now only a few percent brighter than the water around them. - Shift the highlight color from near-white cyan toward a blue-green much closer to the upper water hue, so the rays look like light that has already passed through tens of meters of water. - Each ray uses a multi-stop falloff (bright -> mid -> faint -> transparent) so its edges blend instead of snapping off. - Sharp beams get a touch more cyan; broad diffuse columns are cooler and dimmer; the surface ambient haze is cooler still — a loose nod to wavelength-dependent attenuation. - Wider broad diffuse columns (12-16% vs 7-11%) and a wider, multi-stop surface haze (90% wide) so the empty stretches read as scattered ambient rather than gaps.
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.
Summary
Make the god rays read as filtered sunlight rather than stage lights — softer, more physics-aware blends with the surrounding water.
Test plan
Generated by Claude Code