I am making waterwaves in shadergraph and i want to make a boat that will bop around on those waves, but to do that i need to get those vertices back into the CPU. I am unable to replicate those waves in the CPU as it is not based on world position in the shader.
Is there a way of getting the vertices back from the shader or is making the waves based on world position my only option. Also because i do not know where the time node gets its value. I figure that it is better to get the vertices back to the CPU than replicating it so that i do not have to change the code on both sides when changing something. The mesh with waves is quite small.
If there is a better method to do this, that would be greatly appreciated. I do not have a lot of experience in Unity.