firstly, thanks for the feedback, perhaps a shader would be the right answer here.
secondly, as to the use case, unfortunately it kind of touches a nerve, i would hope that rendering a border around a rectangle is abstract enough to be its own problem without the use case, but I know that you are intending to point me to the gui if it would make my life easier when i’m actually coming away from it, and the decision to come away from it wasn’t easy to make, because i may end up having to manually do text rendering somehow, so it feels like i’m criticizing the people who worked on the gui to come to the conclusion it isn’t adequate but my weeks of frustration can’t be ignored either
I have already done this project I’m working on before using the GUI if you are interested…
But it wasn’t working out, and as much as I know you would prefer people to use the existing library i can only give you my word of my own real world experience on the limitations i ran into being too numerous, it’s like it’s designed to be an overlay on top of the 3d content where in my case the “gui” elements ARE the the 3d content
for example there’s this concept of a guimanager and there is 0 documentation I could find anywhere about using the gui without it, but when you use the guimanager it has like a full screen texture, which is like you’re projecting into the 3d space instead of building into it, let’s say you wanted to switch cameras dynamically, you’d need to recalculate that projection if it is an overlay texture, but if you actually paint the gui elements onto the mesh then you wouldn’t need to.
i’m sorry if i’m pre-emptively defensive but when the entire point of a project i’m working on is like “to see if i can” and i get pushback on like “why reinvent the wheel” it upsets me, perhaps that’s my own insecurities, but then i feel obliged to try and justify myself and i’m too autistic for all this social nuances, i just want technical help to achieve my goal rather than philosophically debating if i should be doing what i’m doing.
to elaborate, the gui has 2d and 3d controls, if you use the 2d ones the events are arbitrarily nerfed such that event objects are missing information that other control’s events arent, like an onpointerenter only gives you x and y (it has that single overlay gui in mind) when i actually need the full event, but then if you use the 3d controls they become impossible to align properly with each other and i can’t for the life of me get the 3d stackpanels to work
so, to be frank, it’s the way the gui is designed that i can’t work with, it changes the normal operation of things that are intended to simplify things, but they are only simplifications when you have an overlay style interface, when you don’t these simplifications are constraints