76
Points
37
Comments
ibobev
Author

Top Comments

cyber_kinetistJul 23
The one and only Holy Bible of Graphics Programming. If you're starting to learn computer graphics, just study through the entire site and do the examples one by one. It doesn't matter one bit that it uses a slightly outdated API called OpenGL - you're supposed to learn how to render things first, not about some weird obscure hardware / driver details!

After you've learned it, you can start learning CUDA if you want to do some more low-level compute stuff on the GPU (sorry, but you should just buy an NVIDIA card, CUDA is just that good). Or if you actually want to just make things but want to use a nicer cross-platform graphics API than OpenGL, then I recommend SDL3. (Or use Metal if you want to make macOS exclusive apps - it's actually a quite nice API)

Vulkan or DX12 are currently flawed APIs that are unnecessarily complex and doesn't even match the performance characteristics of current-gen hardware anymore. (see the titular post: https://www.sebastianaaltonen.com/blog/no-graphics-api). However if you want a computer graphics career (either in the game industry or in other niche domains) having experience with these APIs will be beneficial since these are what many production apps are currently stuck with - though honestly the job market for graphics really suck nowadays. (The biggest sector was triple-A game companies with their own engines, but the game industry is imploding right now...)

the__alchemistJul 23
In 2026: Please don't learn this; it's obsolete. Learn Vulkan (Or another modern API; or how to build engines on top of them; or how to write shaders; or how to do GPU compute using CUDA etc)
AyanamiKaineJul 23
If you want to use the learned knowledge I would recommend to use something like Sokol [0] or use the SDL-GPU API [1]. While Sokol is more higher level both can be used. Otherwise learn opengl is a really good introduction.

[0] https://github.com/floooh/sokol [1] https://wiki.libsdl.org/SDL3/CategoryGPU

MoltenManJul 23
Man, this takes me back! I made a Minecraft clone called Mindacraft in Java using LWJGL (the same framework Minecraft uses) about 6 or 7 years ago using this tutorial. I vividly remember this tutorial being the most useful resource for OpenGL by an order of magnitude, and that was with it being written in a language that actually had pointers and buffers! (Using OpenGL in Java is very weird because you have to use pointers and buffers through a bunch of wrapper classes, and it makes things a lot weirder. It's like using unsafe in Rust if unsafe wasn't even in Rust).
SomeHacker44Jul 23
Any recommendations on how to use OpenGL from the CLR (.Net/C#) please?
AspisAiantosJul 23
I've gotten through the Getting Started section and found it to be quite good overall. A few times it seems to make some jumps back and forth between slightly different setups, which might lead to some problems debugging.

I definitely recommend it to anyone interested! Honestly one of the biggest things it helps with is explaining the setup boilerplate for OpenGL.

brcmthrowawayJul 23
The old primitive API was the best. Who invented the new shader API? They ruined my life.
Visit the Original Link

Read the full content on learnopengl.com

Source
learnopengl.com
Author
ibobev
Posted
July 23, 2026 at 02:53 PM


More Top Stories

nealstephenson.substack.com Jul 23
Writing by hand is good for your brain
356150 commentsby dwwoelfel
Details
haqr.eu Jul 23
Software rendering in 500 lines of bare C++
12323 commentsby mpweiher
Details
politico.com Jul 23
Startup founders urge U.S. government not to shut off Chinese open weight AI
307306 commentsby theanonymousone
Details
stephenfollows.com Jul 23
What happened to TheNumbers.com
361 commentsby nickthegreek
Details
eso.org Jul 23
Astronomers may have found the first exomoon
13552 commentsby MarcoDewey
Details
news.ycombinator.com Jul 23
Launch HN: Screenpipe (YC S26) – Power your agents by your 24/7 screen recording
62 commentsby louis030195
Details
👋 Need help with code?