A very good example of Compute Shaders for the recent release of Unity 5.6 that supports Metal for MacOS and iOS. This is just awesome, grab the project on Github and try it! It's not perfect, but still very impressive. All the gravity is being calculated using the GPU :)<p>Kudos to Jason Knight<p>Compute Shaders:
<a href="https://docs.unity3d.com/Manual/ComputeShaders.html" rel="nofollow">https://docs.unity3d.com/Manual/ComputeShaders.html</a>
Note that documentation is not yet updated concerning Metal and MacOS + iOS support<p>Apple Metal:
<a href="https://developer.apple.com/metal/" rel="nofollow">https://developer.apple.com/metal/</a><p>Unity 5.6 added Compute Shaders for Metal:
<a href="https://unity3d.com/unity/roadmap" rel="nofollow">https://unity3d.com/unity/roadmap</a>