项目
在 GitHub 查看
KrisYu/Water
关于
通过简单计算渲染低成本的水面效果。
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Water
Simple calculation to render cheap water effects.
This simple project demonstrates :
- how to use Metal draw compute shader, or known as 'kernal function'.
- share code between iOS/OSX, both targets are built in the same project.
Demo - Mac

Demo - iPhone

Build and Run
Choose to run OSX or iOS version.
Notice: iOS simulator doesnot support Metal framework, you have to run it on a real A7 iPhone.

Thanks
This is an experiment with Apple Swift/Metal shading language. Bascially I just port this WebGL shadertoy to Metal.
- Special thanks to Victor Korsun for letting me use his shader code
- http://metalkit.org for all the nice tutorials
探索相关项目
加载中…