Hi everybody,
Looking at the following example of a fragment shader, taken from the JUCE OPENGL demo.
#if JUCE_OPENGL_ES
"varying lowp vec4 destinationColour;\n"
"varying lowp vec2 textureCoordOut;\n"
#else
"varying vec4 destinationColour;\n"
"varying vec2 textureCoordOut;\n"
#endif
"\n"
"void main()\n"
"{\n"
#if JUCE_OPENGL_ES
" lowp vec4 colour = vec4(0.95, 0.57, 0.03, 0.7);\n"
#else
" vec4 colour = vec4(0.95, 0.57, 0.03, 0.7);\n"
#endif
" gl_FragColor = colour;\n"
"}\n";
What exactly is the point of JUCE_OPENGL_ES?