Search code examples
openglglslshaderopengl-4

What happens in OpenGL 3.x+ if I don't specify a shader


I'm working with the new core OpenGL 4, so I'm using VAO exclusively and Vertex and Fragment Shaders.

But, What if I don't specify any shader at all, Does the system provide a default shader? e.g. a shader that draws a fragment with the current glColor and mvp?


Solution

  • On a core profile, not providing shaders is prohibited.