Login
You're viewing the functional.cafe public feed.

Replies

  • 💬 0🔄 0⭐ 0
  • Nov 12, 2026, 11:10 AM

    @kate yeah it's very simple. one texture read in the vertex shader, 6 in the pixel shader. The displacement is done in screen space when compositing opaque and transparent passes

    💬 2🔄 0⭐ 0
  • Nov 12, 2026, 11:26 AM

    @kate oh sorry two texture reads in the vertex shader

    but yeah this is all fakery with some textures. you can do a lot with a normal map sampled at different scales moving in opposite directions and a matcap

    💬 1🔄 0⭐ 0
  • Nov 12, 2026, 1:08 PM

    @eniko@mastodon.gamedev.place .. I never got into graphics card programming and such, so I'm nosy.
    So the need for transporting huge amounts of pixels across to the video-ram doesn't significantly increase with this since the movement and transparency is done by hardware shaders, right?

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 12, 2026, 3:22 PM

    @eniko@mastodon.gamedev.place .. does this synch with the picture frame rate, so it needs to be done off screen and it's visible after compositing I guess? And is it done while thre rest of the image is doe or is it a separate layer of compositing? how many layers do you have on average with and without water in the scene?

    💬 0🔄 0⭐ 0
  • Nov 12, 2026, 3:30 PM

    @kate there's only two passes, one for opaque geometry and one for translucent, which includes water. all the translucent geometry gets accumulated into one buffer using weighted blended order independent transparency

    💬 0🔄 0⭐ 0