水實現思想

unity中實現水的方法有多種,參考https://www.zhihu.com/oauth/redirect/social_info/wechat_mp?from=https%3A%2F%2Fzhuanlan.zhihu.com%2Fp%2F95917609%3Futm_source%3Dwechat_session%26utm_medium%3Dsocial%26utm_oi%3D820980116145459200%26from%3Dsinglemessage%26isappinstalled%3D0

有很多種方法。本次博客,主要是基於GerstnerWave
http://johnhany.net/2014/02/water-rendering-with-gerstner-wave/

水實現的主要思想,還是針對頂點進行做動畫。比如一次正弦,實在不行就多次正弦,當然一點是最基礎的做法。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章