Top
Best
New

Posted by ibobev 6 hours ago

Learn OpenGL, extensive tutorial resource for learning Modern OpenGL(learnopengl.com)
125 points | 72 commentspage 2
coffeeaddict1 3 hours ago|
Honestly, in 2026 I would not really bother with OpenGL. Just start with WebGPU, it's much nicer. You can use it easily on most modern browsers or better can even use native libraries like Dawn or WGPU.
brcmthrowaway 4 hours ago|
The old primitive API was the best. Who invented the new shader API? They ruined my life.
nuxi 40 minutes ago||
Same sentiment here. My litmus test is - after creating a window - "how many lines of code does it take to render a triangle?".

With the old OpenGL API you could do this in like 10 lines of code (probably even less with SGI's GL).

With the new/shader-based API, well... https://learnopengl.com/Getting-started/Hello-Triangle

Vulkan - I don't even want to know.

cyber_kinetist 4 hours ago||
If you want to use glBegin() / glEnd() - like immediate API with modern OpenGL, I reecommend using a library called RLGL (https://github.com/raysan5/raylib/blob/master/src/rlgl.h), from Raylib. You'll feel straight at home!