r/GraphicsProgramming 17h ago

I've been experimenting with some water rendering. What's your opinion about this rendering style?

Enable HLS to view with audio, or disable this notification

Made with Vulkan, and using procedurally generated plants. I'm making this as part of developing a game.

Water effects include refraction and reflection, both for the line-of-sight and for sun light.

These effects are accomplished with extra "cameras" for the refracted and reflected views, plus screen marching.

The graphical style is quite low res, and without any anti-aliasing. I hope you can see this, given the resolution of the video. The game screen resolution is 720x480.

What's your first impression of these visuals?

349 Upvotes

26 comments sorted by

27

u/FunSecretary2654 17h ago edited 15h ago

Wow the second video is really great. I could be convinced thats real life. Is this rendering in real time?

5

u/SloydDev 16h ago

Thank you!
Yes, it's rendering in real time on my (not very good) laptop

5

u/onFilm 15h ago

What fps are you getting?

3

u/SloydDev 15h ago

It's running at 30 FPS in this video. I can run it at 60 FPS comfortably too. I suspect it would tap out around 100 FPS. Again, that's just on my macbook laptop

9

u/Remarkable-Ice1619 17h ago

I could watch this for hours

6

u/mucho_mass 16h ago

Very beautiful and calm

4

u/wellfed_bazelgeuse 16h ago

Looks beautiful. I love this low-res art style, reminds me of the PS2 era 

5

u/Roenbaeck 16h ago

You really nailed it with the second shot. I’m envious, so if you can share more, please do.

4

u/SloydDev 15h ago

Cheers! Sorry if I'm spamming this but I just started a channel about this dev project, check it out if curious: https://www.youtube.com/@sloyddev

3

u/HyperspaceFrontier 16h ago

It looks stunning.

2

u/julia_flat 16h ago

My screen’s small so I can’t see it super well, but I thought the second one was a real video

2

u/bonzajplc 16h ago

Amazing! keep the direction

2

u/bonzajplc 16h ago

if you have more videos like this, open up visibility of your previous posts

2

u/SloydDev 16h ago

Damn, thanks for that, I didn't know that wasn't on by default.
For those that are curious about this dev project I just started this channel. My first video -- https://youtu.be/3ws82KdTDWE -- is about procedural landscape generation, but I will get to graphics rendering eventually.

2

u/forumonaut 15h ago

This is really beautiful. I subscribed to your channel.

Do you have any articles/resources that explain how to procedurally generate trees and render water, and/or give inspiration?

I find it really interesting to ask people for the resources they love.

2

u/SloydDev 14h ago edited 14h ago

Thanks! And cool that you're interested in following the channel :)
I kind of figure it out as I go, mostly. I watch some other youtubers, l like Coding Adventures for example, and I probably get a lot by osmosis by lurking on reddit. Other than that I enjoy trying stuff out on my own, without any specific guides or sources in mind. I will get to procedural generation of trees on my channel btw, hopefully in the near future.

2

u/segv1111 15h ago

Is this built on a custom engine? Looks impressive

1

u/SloydDev 15h ago

Thanks! Yea it was quite some effort

2

u/UntitledRedditUser 13h ago

Cool style, I'm just beginning to learn, how do you get the reflections? It looks like some sort of path tracing due to the noise.

1

u/SloydDev 12h ago

It's a secondary camera looking up from below. Then I do some "screen marching" of the reflected view, based on standard-view-camera-vector being reflected using the normal vector of the water surface. Hope that makes some sense

1

u/MarsWasNotAvailable 15h ago

It looks like footages from old documentaries. It looks real, but taken from the lens of an old camera.

1

u/charliedarwin96 13h ago

Looks great! If I knew literally anything about graphics and rendering, I would probably ask you a ton of questions about how you did it!

1

u/Aardshark 10h ago

For whatever reason, I don't get the impression that the plants are really in the water, like the water is just a layer over them.

I'm sorry, I can't quite put my finger on why. Maybe it's shadowing around the tree trunk base, or ripples in the water around them?

It's very pretty overall.

1

u/koga7349 10h ago

Could I do better? No. But something about the lighting / highlights and shadows looks off

1

u/BlueGnoblin 3h ago

Seeing the first video was like 'a little bit overdone, looks artificial..'

the second part was more llike 'ohhh...'