News for hackers. Stuff that matters.

thomastc

Re:Rendering pretty sky in Around The World game on Thursday October 22, 2026 @05:43AM (#50193234)
Thanks! Fsck AI. Keep caring. It's all we have.
Re:Rendering pretty sky in Around The World game on Thursday October 22, 2026 @05:38AM (#50193214)
I'm maintaining a list of early testers. Would you like to be on it? Let me know preferably by e-mail (contact details are on my site).
Re:Rendering pretty sky in Around The World game on Thursday October 22, 2026 @05:37AM (#50193207)
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.

Re:Rendering pretty sky in Around The World game on Thursday October 22, 2026 @05:32AM (#50193174)
Thanks, I (as the developer of Around The World) am always looking for inspiration, so I'll check it out too!
Re:Rendering pretty sky in Around The World game on Thursday October 22, 2026 @05:31AM (#50193171)
Super pretty indeed, but that AAA look is way out of my league :) Probably took several rendering engineers several months. And it wouldn't fit my art style anyway.
Re:Rendering pretty sky in Around The World game on Thursday October 22, 2026 @05:29AM (#50193156)
Thanks! I want my game to bring some positive feelings into the world, but I picked a rather bad setting for that, so this is my compromise :)
Re:Rendering pretty sky in Around The World game on Thursday October 22, 2026 @05:27AM (#50193150)
Thanks for the pointer! It seems like my approach is similar to, but much more simplified than, what is described in the slides (the thesis itself is not loading for me right now). I'm using a 4D function (LUT) rather than 5D. The correspondences are: size/thickness (of a sphere, not a slab), lighting angle, view angle. I additionally use the surface normal, they use viewpoint depth and scattering order.

The observation of different behaviours for different scattering orders is interesting. I could try adding a cheap approximate first-order term to the shader to get more pronounced silver linings.

My LUT is calculated using the Henyey-Greenstein phase function, so without the backward spikes. Since this is all computed offline, I could easily add the more accurate Mie function.

What is used in games today is more raycast-based, e.g. Nubis³: https://www.guerrilla-games.com/read/nubis-cubed

And Neyret's name is well known to me, yes :)

Re:Jfxr: A browser tool to create sound effects for games on Sunday August 03, 2014 @11:35PM (#8130192)
Author of jfxr here -- wow, made it to the front page of Hacker News briefly, my 5 minutes of fame!

Were you looking for something like this? http://jfxr.frozenfractal.com/#%7B%22_version%22%3A1%2C%22_n...

Starting from a default sine shape, I set some sustain + punch for the initial, loud part, then a long decay to make it fade out. Then added some harmonics (overtones) to get it to sound more natural. I fiddled with the flanger to add a metallic ringing effect, and finally, I set a low-pass filter to take some of the edge off.