Modern OpenGL Books recommendations

Hi everyone,

I have a 3D application that supports both Direct3D and OpenGL rendering.

I’m trying to transition from compatibility to core OpenGL, up to something comparable to D3D11 11_0 feature level.

What book or resource would you recommend to help me achieve that?

Hello,

I don’t know any book specifically for transitioning from OpenGL 2 to modern OpenGL. But I think if you already know old OpenGL well, you just need to learn modern OpenGL and then you can figure out how to rewrite things.

And as for modern OpenGL resources, for me the OpenGL Wiki website is a very good resource. It explains in simple terms a lot of things about modern OpenGL (mostly). Also, the official OpenGL Programming Guide book (edition 8 or 9) is good; it is just a bit harder to digest. And the API reference is essential. Either docs.gl or this is fine.

Hope it helps.

1 Like

learnopengl is a vey good starting point. You can either read it onlone or download the pdf. Code examples are provided in an archive.

Also, a more in-depth transition from legacy opengl to modern opengl is the book: Graphics Shaders Theory and Practice by Bailey & Cunningham, CRC Press, 2nd edition 2012.