14
I created a water shader (files.catbox.moe)

So for fun I made a water shader. The waves are done using sum-of-sines (or rather sum of sin^8), im using the depth texture for opacity based on water depth and the screen texture to fake refraction.

The cool thing about sum of sines is that the waves are very configurable, you can also create flatter water or less detailed waves by just changing the shader properties, or even create a water stream with a single flow direction.

you are viewing a single comment's thread
view the rest of the comments
[-] monotrox@discuss.tchncs.de 1 points 1 year ago

I'll maybe have to think about downscaling videos the next time, because it also took a very long time to load for me, maybe it just failed because the download was somehow interrupted?

this post was submitted on 22 Aug 2023
14 points (100.0% liked)

Godot

5840 readers
80 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

!roguelikedev@programming.dev

Credits

founded 1 year ago
MODERATORS