Where can I get a modern OpenGL tutorial?

"Modern" OpenGL is kind of a funny thing right now. The whole graphics world is going through one of those fun once-in-a-generation revolutions. "Modern" could mean 3 different things depending on how aggressively modern you want to be.

Your best option today is probably the OpenGL Superbible. I found it to be pretty good. It's long enough to take its time explaining things but also to be comprehensive.

But immediately "Modern" OpenGL is GL4.5 and a technique "AZDO" which attempts to approximate the benefits of DX12/Vulkan/Mantle through the OpenGL API. The Superbible does not cover this specific technique. But the author of that book has tweeted that he's working on an updated AZDO version. I suspect by the time you're proficient enough to benefit from these techniques, the book will be out. If not you could probably take what your learned in the book and add AZDO techniques to it from blog posts littering the web.

An even more aggressive idea of "Modern" OpenGL would be Vulkan: a total reboot of the graphics API built around the abilities of modern hardware. This API is really intended for the guys making Unreal Engine 5 or the Crytek engine, not hobbiest graphics programmers. I personally am excited about it b/c it's a fresh start and thus the API is going to be VERY small and simple and not littered with thousands of ancient API calls no one uses anymore. They are also developing a debugger and an executable test suite with the spec, things that GL never had that really compromised driver quality. But... the Vulkan spec is not out yet. It is rumored to be out around Q3 of this year. Valve is bankrolling most of the development and it's expected to coincide with their Steam Machine launch. No idea when a good Vulkan book will hit the shelves.

/r/learnprogramming Thread