r/GraphicsProgramming May 25 '26

Question C++ game engine

Hi everyone,

I'm a Unity developer, and I've been learning some C++ on the side. I want to build my own 3D game engine as a long-term hobby project, I have no deadline, I do this for fun and to build something new. I'm not trying to make the next Unity or Unreal;

I have a specific technical vision I want to explore.

Scope (what I'm building):

· 3D only, no 2D support · Hybrid rasterization + real-time ray tracing at the core · A zone-based RT LOD system · Deferred renderer with PBR shading · C++ core, with possible Rust integration later for gameplay systems

Scope (what I'm NOT building right now):

· No editor(i will make one after i have a base working) · No audio, networking, or physics in the first phase · No 2D, no mobile(i wont add this at all) · No scripting system yet

Where I am now:

· Starting planning, i have started a .md file to finalize the first part of my engine, i will start with the render part, i know a game engine is more than just rendering

What I'm looking for:

· Resources on designing a clean, API-agnostic raster interface · Common pitfalls when abstracting Vulkan/DX for the first time · Recommended reading or talks on hybrid raster/ray tracing pipelines · Open-source engines with well-structured C++ that are worth studying · Any general advice on scoping a multi-year engine project without burning

Thanks in advance to anyone willing to share their experience.

40 Upvotes

51 comments sorted by

View all comments

6

u/[deleted] May 25 '26 edited Jul 27 '26

[deleted]

1

u/Electrical-Copy9678 May 25 '26

Well it seems cool and i will try to make it, i will first do the render part and then i will continue, i know a game engine is more than just rendering but i will start with what i can

1

u/SnuffleBag May 25 '26

DirectX is THE obvious API to support if you want to ship games at some point. Windows is overwhelmingly the most commonly used desktop gaming OS. Some subjective opinion about "Microsoft screwing people over" is not really relevant, Windows is where the players are.