Hacker News new | ask | show | jobs
by shrx 42 days ago
The light is also reflected from the Earth back into the sky, e.g. over bodies of water.
1 comments

Yes, and my approach does capture that to some extent. Or rather, Godot's ambient lighting approach does. The (ir?)radiance cube map(s?) cover all directions, including the ground. Right now I'm using a uniform gray from below — [albedo 0.39](https://en.wikipedia.org/wiki/Albedo_0.39), but I just learned that this value is outdated. For slightly more realism, I could colour this according to the terrain underneath. Future work!

Of course, there's a chicken-and-egg problem here that isn't captured: the very presence of the clouds also affects how much light is reflected back onto them. That would be a bit harder to achieve.