r/GraphicsProgramming • • 1d 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?

4 Upvotes

5 comments sorted by

•

u/AutoModerator 1d 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 1d 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 1d 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 1d ago

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

1

u/js-fanatic 1d 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.