Fluidsimulation, Unity, Realtime, Fog, Volumetric.
this mesh procedurally. In this way the vertices in the vertex buffer exactly match my simulation space. Here is the code which generates the mesh for the plane, and the uvs which match the simulation space in the compute shaders: Figure -1- Code for generating a single plane mesh Then, I generate