Water collision NEED HELP

Need help taking a water collision material that uses WPO and making collision by sampling wave height.

What is the fastest way to do this?

DEEPSEEK

told me me to use a dynamic mesh and a render target, how do I do that?