水实现思想

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/

水实现的主要思想,还是针对顶点进行做动画。比如一次正弦,实在不行就多次正弦,当然一点是最基础的做法。

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