i have successfully implemented signed distance fields font creation and rendering and now i am in the planing process for my HUD/UI rendering right now. Normally i would just add a renderHUD() method after all the other rendering stuff and call it and use orthographic projection. Thats how i have done it in the past, but now i have a Entity Component Based Game Engine and i want to do this the "Entity->Component" way if possible.
What i want to achieve is:
- Rendering a bit of text based on triggers (which are components as well) in the 3D scene (Created and destroyed on the fly)
- Rendering simple game Menu UI (Start, Load, Save, Options, Credits, etc.)
- Rendering HUD for the player/game and scene stats
- Rendering tons of debug informations - if required
Do you guys have some tips for a good component based solution?
Thanks in advance,