Simple calculation to render cheap water effects.
Simple calculation to render cheap water effects.
This simple project demonstrates :
Demo - Mac
Demo - iPhone
Choose to run OSX or iOS version.
Notice: iOS simulator doesnot support Metal framework, you have to run it on a real A7 iPhone.
This is an experiment with Apple Swift/Metal shading language. Bascially I just port this WebGL shadertoy to Metal.