You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making progress with the OpenGL renderer. However, it is not any faster because of the way the level renderer renders the scene. It just makes far too many draw calls. More than 20.000 per frame(!).
I suggest combining as much as possible, i.e., create sprites for distinct scene objects. For example: Combine the scene background into a single sprite, with a single texture; combine each building into a single sprite, with a single texture, etc.
The text was updated successfully, but these errors were encountered:
I think we can prepare the "pillars" which would massively reduce the number of draw calls. Right now the game passes the 32x32 tiles individually to the Renderer (as they come from the data files).
This will not change the renderer interface, as we would simply pass fewer, but larger images.
Making progress with the OpenGL renderer. However, it is not any faster because of the way the level renderer renders the scene. It just makes far too many draw calls. More than 20.000 per frame(!).
I suggest combining as much as possible, i.e., create sprites for distinct scene objects. For example: Combine the scene background into a single sprite, with a single texture; combine each building into a single sprite, with a single texture, etc.
The text was updated successfully, but these errors were encountered: