Simple shader example based on Ray Wenderlich's Metal example.