- Home /
What is the best way to create realistic surfing waves?
Hello. I would really want to know what is the best way through which I could obtain realistic waves like in the following videos to which I could also change parameters like height, width and other stuff:
https://www.youtube.com/watch?v=bFg1Jm1DgZk
https://www.youtube.com/watch?time_continue=51&v=CED5svz8Gpw
From what I understood so far, there would be two main methods:
-using real time mesh deformation like in this video: https://www.youtube.com/watch?v=_sFCPfc7mDU
-or using shaders that manipulate the vertices
The problem with the first method is that I tried it but it only works with a lower poly mesh. If I increase the number of tris the wave has, so it's smooth like in the videos above, the frame rate drops drastically.
So I'd really want to know, in those videos, where the waves are so smooth, are they using real time mesh deformation or shaders?
I assume the collision system would be separate in both cases as shaders don't affect any physical properties in the scene, and I'm thinking it would be too expensive to apply mesh colliders on the deforming wave?
Thanks for any help!
Your answer
Follow this Question
Related Questions
Project vertices on surface, make a shape 1 Answer
How does appdata_base work? 0 Answers
Branching with SHADER_API_D3D11 directive compiles wrong in surface shader 1 Answer
Change mesh color with shader or Mesh.colors? 1 Answer
Geomorphing terrain with a vertex shader (custom vertex data maybe?+ 0 Answers