I am trying to recreate this awesome solution to water flowing
(the well thought out answer below)
I have a function to create the
flow map in gdscript (which is translated to just pixel by pixel colors). But I don't know how I should send this data to a shader.
I assume I try and package it all up as one image and set one of the shader's sampler2D uniforms to that image? Or maybe I set each pixel at each pixel coordinate individually?