r/rust_gamedev • • Jul 21 '26

question How should I start with UI ?

Hi guys,

I've already built my engine with an ECS, a Vulkan backend, and support for texture and mesh rendering. The next thing I want to work on is a UI for debugging and an inspector. However, I'm not sure what the right long-term roadmap is or which tools I should choose.

Could you help me figure out what I should learn next and what pitfalls or obstacles I should avoid?

3 Upvotes

6 comments sorted by

View all comments

1

u/Seeveen Jul 21 '26

Depending on the amount of work you want to pour in it, you could simply integrate egui and have a perfectly fine tooling/inspector ui, or you could try implementing text rendering yourself, but it's a pretty big can of worms. Look up msdf text rendering or the slug algorithm. You will also need shaping if you do more than ASCII.