forked from Pheelbert/battlenetwork
-
Notifications
You must be signed in to change notification settings - Fork 41
Known Bugs
Maverick Peppers edited this page Apr 21, 2018
·
17 revisions
Latest changes to the animation system has slowed the game down drastically. I'm not familiar with thor. Best look at latest Thor docs and find out where the choke is.
See my original references:
It's known that created a new sf::RenderTarget
creates an entirely new GL context that is costly on resources and cpu cycles. Our render pipeline in the Engine
class creates a new target per shader-bound sprite. Optimization is needed to create 1 render target (the final screen image) and order the sprites by their shader, bake each shader into the target, and finally output that to the screen. This ensures every shader is loaded, computed, and drawn once and on only one render target.