MetalShaderShowcase

Last Revision:
Version 2.0, 2016-06-13
Share code with other samples and converted to MTKTextureLoader.
(Full Revision History)
Build Requirements:
iOS 8 SDK
Runtime Requirements:
iOS 8, 64 bit devices

Metal Shader Showcase demonstrates a variety of visual techniques optimized with Metal. It contains 7 unique shaders: a Phong shader, a wood shader, a fog shader, a cel shader, a normal map shader, and a particle system shader. Using the Metal reflection API, the renderer queries the shaders for what arguments are needed and presents them to the render encoder.