Hello,
I have a simple frag shader that is not compiling on OS X. It says it does not know ‘fragColor’, but that is built-in, isn’t it? I use it in all my other frag shaders but this one is giving me this error. Anyone know why that might happen?
Thanks
Bob
Frag Shader compile log:
ERROR: 0:9: Use of undeclared identifier ‘fragColor’
Failed to compile frag shader:
#version 150
//
// ShadowMapping
//
void main()
{
fragColor = vec4(1.0);
}