Hi, so I started writing example codes for OpenGL 3+ a few weeks ago. I was annoyed with most resources using deprecated functionality and most of the sources being in tutorial form. Often the tutorials wrap away functionality in a framework (which imho gets in the way of actually learning OpenGL) and focus on doing stuff with OpenGL instead of actual OpenGL functionality. As a result its very hard to actally find clean examples for more advanced features like instancing, geometry shaders, transform feedback, uniform buffers etc.
So I set out to provide such a collection. All the examples are self contained in a single file up to some "canonical libraries" (glew, glfw, glm).
https://github.com/progschj/OpenGL-ExamplesAny feedback and/or suggestions are welcome.