Proyectos
Ver en GitHub
KrisYu/Water
Acerca de
Un cálculo sencillo para renderizar efectos de agua con un coste reducido.
Otros proyectosCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalWater
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
Explorar proyectos relacionados
Cargando…