How do I optimize the rendering of a 2d scene?
Here is where I stand and what I've tried:
I have a decently sized static scene consisting entirely of control nodes. Think labels, buttons, TextureRects, containers etc.
This scene is pretty heavy on mobile devices, causing heat buildup and high power draw. However, with low processor mode enabled, all of these performance issues disappear :-).
Now to the issue: as soon as a dynamic element, such as a TextureRect with a "shine" shader, is added to the scene, all the savings that low processor mode brings go out the window.
I tried putting the TextureRect into its own SubViewport to prevent it from causing redraws on the rest of the scene, but that had no effect.
- ... other stuff
- SubViewportContainer
- SubViewport
- TextureRect_With_Shader
So my question is, how do I isolate the rendering of a dynamic element so the entire rest of the Scene does not need to be redrawn every frame?
Inherits: Object Stores globally-accessible variables. Description: Stores variables that can be accessed from everywhere. Use get_setting(), set_setting() or has_setting() to access them. Variable...