I'm trying to find a beginners tutorial or resource for GLSL shaders. The example project apple offers doesn't work when I c&p the code directly in to my app, so I don't know what I'm doing wrong with my model or what not. And it does not seem ot matter if I set the renderer to Automatic, open gl or metal.
Alternatively, an example of a fluid simulation or way to make realistic looking water would be nice.