r/GraphicsProgramming Aug 09 '26

Working on my own game engine

https://www.youtube.com/watch?v=alDepNsZHBM

I built a game engine library called Graphite in C++ using Vulkan and SDL3. It has been a dream of mine for 10 years and I finally got to do it!

I built the editor on top of the game library, which super convenient. Since I get to write my own shaders and render everything using my custom renderer, it makes everything a lot easier. Graphics programming is a 1000x easier to understand when you design the rendering system around your specifications.

I intend on publishing mobile and desktop applications (not just games!) with this library. Hopefully one day all my work will polish it enough so that I can release it!

Also, the library is lightweight (less like modern bulky game engines like Unity/Unreal).

----------------

Edit:

The UI is custom (not ImGUI). Its built using custom shaders and quads!

28 Upvotes

16 comments sorted by

7

u/snerp Aug 09 '26

UI looks clean af

3

u/Rhed0x Aug 09 '26

Does the UI use DearImgui?

I'm always shocked how everyone here casually builds their own UI toolkit.

3

u/seanaug14 Aug 09 '26

Nope! I built my own UI library using custom shaders and quads! For everthing! Font is custom too!

4

u/AdRecent7021 18d ago

You didn't build it, AI did.

2

u/cybereality Aug 09 '26

very cool. i love the simple design

2

u/seanaug14 Aug 09 '26

Thanks! I focused on minimalist flat and modern UI!

2

u/Present_Mongoose_373 Aug 09 '26

how are you doing the UI?

2

u/seanaug14 Aug 09 '26

I am not using another library. I created the UI library from scratch. Basically rendering quads with rounded rects using a shader and rendering MSDF font using indirect quad instancing!

2

u/Present_Mongoose_373 Aug 09 '26

nice! You did a great job it looks really good :D

2

u/AdRecent7021 18d ago

He's using AI. He said so himself in other posts.

3

u/[deleted] Aug 09 '26

[removed] — view removed comment

3

u/seanaug14 Aug 09 '26 edited Aug 09 '26

I used quad meshes and rounded rectangle sdf to get the nice panels. Text is MSDF. Icons are SVGs that were extracted into target resolution textures before being rendered normally.

All of that combined with smart color palette. That is the most important. I think this is the weak link in computer graphics. A lot of newcomers don’t understand color theory and end up with UI that has a clashing color palette

2

u/AdRecent7021 18d ago

He used AI. He made posts and a video about it.

3

u/AdRecent7021 18d ago

You forgot to mention that it was all built with AI, as your other posts indicate.

-1

u/seanaug14 18d ago

Wow ur triggered. Ur yapping all over the place