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.

  • monotroxOP
    link
    fedilink
    arrow-up
    1
    ·
    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?