How to implement water ripples?

后端 未结 3 1660
挽巷
挽巷 2020-12-13 03:00

I\'m working on an iphone game. In that i had to produce water ripples. I dont know how to get that. I heard thatit can be done with openGL. I am very new to this concept. C

3条回答
  •  -上瘾入骨i
    2020-12-13 03:29

    Here are some resources I found:

    Language Agnostic 2d Water Ripple Algorithm

    (source: virgin.net)
    (source: virgin.net)

    OpenGL Project with Water Ripples (Source)

    (source: sulaco.co.za)

    You also might want to swing by GameDev's FAQ. Scroll down to the "Water Rendering" section.

提交回复
热议问题