I'm days into my epic quest to simply get a spinning cube on my iPhone using JUCE and openGL ES. Which means I've had to roll my own shaders. Now comes the step of actually compiling them. Overall I think I understand how JUCE's OpenGLShaderProgram class is meant to work, except for the step of using addShader().
So the docs say I need to have a const char *const shaderSourceCode as a parameter for this. How does that work? I've got my vertex and fragment shaders added to the project, but it's not clear to me how to tell JUCE what to do with them.