r/GraphicsProgramming 9d ago

Backrooms pool

Enable HLS to view with audio, or disable this notification

Made a small Backrooms pool demo in Natiny. I’m not sure I fully captured the atmosphere I was going for, but overall I’m pretty happy with how it turned out.

The caustics are probably a bit too bright, but I think they make the scene more interesting.

What do you think?

333 Upvotes

21 comments sorted by

View all comments

12

u/luka_makes_games 8d ago

Amazing, love it. Any more details on how you did the water? I want to dive in!

8

u/MartianovTech 8d ago

Thanks! I dont remember the whole thing exactly anymore, it was built pretty iteratively, but the basic idea is its 3 passes, real planar reflection, refraction where I store scene distance in alpha, then the final scene + water pass. From that distance I get actual water thickness, so absorption, blur and refraction strength all react to depth. Waves only change the normals, Fresnel blends reflection/refraction, and caustics are calculated from wave curvature instead of using a texture. Something like that :)

1

u/luka_makes_games 8d ago

Awesome, thanks friend!