Re:Learn OpenGL, extensive tutorial resource for learning Mo...
by raincole on Thursday July 23, 2026 @03:23PM
(#49026778)
Yes, it is. Most articles there are practically API-agnostic. Just because the code examples happen to be written with OpenGL it doesn't mean it's about OpenGL.
https://learnopengl.com/PBR/Lighting
Even the code snippets start with "#version 330", if you implement these in another tech stack (say vulkan+slang) the relevant shader code would look very similar. It's quite strange to me that you think just because of "#version 330" it's not about fundamentals, tbh.
Re:Learn OpenGL, extensive tutorial resource for learning Mo...
by troupo on Thursday July 23, 2026 @03:49PM
(#49027094)
It's not just because of that. Everything is steeped in OpenGL API. All the "fundamentals" are about OpenGL.
Another link floated to the top of HN discussion just now, and every sibgle link there is better than these "fundamentals": https://news.ycombinator.com/item?id=49022038 E.g. "Computer Graphics from Scratch" https://gabrielgambetta.com/computer-graphics-from-scratch/ or Mathematics for Computer Graphics https://www.amazon.co.uk/Mathematics-Computer-Graphics-John-...
Re:Learn OpenGL, extensive tutorial resource for learning Mo...
by Jach on Thursday July 23, 2026 @03:31PM
(#49026865)
Here's the Vulkan version of that:
#version 450
struct Material {
Despite the name, GLSL is still used all over the place in Vulkan pipelines. The site teaches you the shader approach (rather than the fixed function pipeline of the 90s) which is what the "modern" Vulkan stack uses too.
Re:Learn OpenGL, extensive tutorial resource for learning Mo...
by troupo on Thursday July 23, 2026 @03:51PM
(#49027121)
That was the absolute minimal example of where "fundamentals" immediately devolve into a very specific code targeting a very specific API. See also sibling comment: https://news.ycombinator.com/item?id=49027094
Is it? All the fundamentals are tied to how it's done in OpenGL with somewhat sparse explanations in between. And many "fundamentals" are literally something like