by Pannoniae · 3y ago · 0 comments
edit: not web tech should be banned, but releasing a game with horrible optimisation like this, either by the store selling the game or by the law
Could be that the integrated the Gameface library incorrectly I guess? Still interested in more details from you.
Literally quoted from the article. Standard 2D UI like that can be done in as little a single draw call (or so I have read, never actually done it)
Great "DX" now when your building it, but good luck maintaining it over the long term.
"The last remaining draw calls are used to render all of the different UI elements, both the ones that are drawn into the world as well as the more traditional UI elements like the bottom bar and other controls. Quite a lot of draw calls are used for the Gameface-powered UI elements, though ultimately these calls are very fast compared to the rest of the rendering process. "
With this minimalistic, flat-style soulless UI, the correct number of draw calls spent on UI should be single digits....
Why does it matter if it's 5 render calls or 500? The developers clearly have plenty of work to do optimizing the other 70ms, it doesn't make sense for them to spend any time working on this.
Why on earth would they try to optimize how the UI renders when they're having big issues elsewhere?
It's absolutely not the most important, or even in the top 10 most important problems here, but it shows really illustratively how much they care about making a game which performs in an acceptable way. (which is: not that much)
Also, it's not even one or two high-poly models dragging the performance down, what I was aiming at is that the game suffers from death by a thousand cuts - the LoDs are only a part of the issue, almost every part of the game is done in a sub-optimal way. So while the UI is not a significant part of the frame time, if they fix the most glaring performance issues, they will find that there won't be a silver bullet, the game is just a pile of small performance problems all the way down.
Of course, it's a butt ton easier said than done, but if the industry could utilize flash for years after it died, I see a glimmer of hope.
>releasing a game with horrible optimisation like this, either by the store selling the game or by the law
you really want the government to regulate video games because you can't run a frame in 16ms? Talk about a slippery slope.