How do I make a water effect view with openGLES on the iPhone?

前端 未结 3 707
难免孤独
难免孤独 2020-12-05 03:53

I found this vid: http://www.youtube.com/watch?v=eVi6ThY3LRs I wonder if that\'s some kind of standard effect of openGLES. I\'m pretty sure it is, since I have seen this pre

3条回答
  •  無奈伤痛
    2020-12-05 04:16

    (off the top of my head) Maybe a mesh distortion where the texture is pinned to the vertices and hence appears to ripple as the mesh vertices are moved? By moving a set of vertex displacements around the mesh you could make a uniform ripple like a wavefront...

提交回复
热议问题