Alternate way to create .glsl files
This is my first tip ever but I encountered a problem importing .glsl files from my desktop into Xcode. I solved the problem by locating the resources folder in the project navigator and right clicking on it, chose "new file", then iOS from the drop down, other, empty file. I re-named the files vertex.glsl and fragment.glsl and typed the code directly into the empty files, it worked and I am up to chapter 3.
|