r/GraphicsProgramming • • 2d ago

Good better at graphics programming for games and engines.

This may come off as a dumb question looking for advice, but I’m quite curious on ways professionals would approach getting better at graphics programming for video games and game engines.

I’m currently working on making a 2D game engine in openGL but I feel like using openGL is pointless and Vulkan would make a better fit.

Thoughts?

5 Upvotes

6 comments sorted by

•

u/AutoModerator 2d ago

Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:

  • No showcases.
  • Disclose AI usage in post or project.
  • Present a topic to talk about, e.g. how something works.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

8

u/sfaer 2d ago

It's never about the API, it's what you do with it. How to get better? Practice, read codes, read papers, implement, be curious, be creative, rince and repeat.

2

u/corysama 2d ago

Learning "Modern OpenGL" and "AZDO" is a good warm-up for learning Vulkan. You can get very far with multidrawindirect, direct state acces, bindless texture arrays, vertex pulling, etc... Then you'll be ready for when Vulkan throw all that plus a lot of memory and synchronization management at you.

I usually recommend starting out making a 3D scene viewer using glTF and USD readers. It's a scalable project that can go from "untextured mesh spinner" to "full game scene". You could start with https://github.com/lighttransport/LightUSD/ and also cgltf/tinygtlf/fastgltf, whichever makes you happy.

You find a ton of free content here https://www.fab.com/search?is_free=1

Build to the goal of loading and rendering https://blog.activision.com/activision/2024/activision-releases-call-of-duty-warzone-caldera-data-set

3

u/EC36339 2d ago

Nah, just skip "modern" OpenGL, and then also skip most of Vulkan and start with modern Vulkan.

1

u/js-fanatic 2d ago

I use tradicinal js tech webgl/opengles1.1/2/3 webgpu and canvas2d. I made own libs https://github.com/zlatnaspirala/matrix-engine-wgpu.  This is pseudo 2d with matterjs demo https://maximumroulette.com/apps/webgpu/examples.html?demo=24 i force performance and mobile browsers support.  Web is cool you can share everywhere but native app nobody will execute if not cert officially.  

1

u/Mediocre-Lecture8653 7h ago edited 7h ago

My biggest leap was using OpenGL and getting some 3d objects on screen with shaders pretty much made from scratch.

Another big leap was reading and understanding Song Ho OpenGL
https://www.songho.ca/opengl/
Song Ho series helped me realize and confirm which fundamentals I actually knew.

The next big leap was reading Graphics Studies of real world commercial engines. This is when I began to understand the chasm between Solo Devs and Teams building Commercial Engines.

https://www.adriancourreges.com/blog/2020/12/29/graphics-studies-compilation/

Doom Eternal in particular opened my eyes and made me realize I was not crazy when I would argue with others that "MegaTexture is stupid"
https://simoncoenen.com/blog/programming/graphics/DoomEternalStudy.html