Skip to content

Conversation

@wouterlucas
Copy link
Contributor

@wouterlucas wouterlucas commented Nov 11, 2024

Fixes #440

Todo:

  • Investigate why source -> destination texture relation adheres to original RTT node render state
  • Cache Parent RTT node for faster update behaviour

This commit enhances the Render-to-Texture (RTT) node handling by refining inheritance, update propagation, and insertion logic:

- RTT Inheritance Refactor: Streamlined RTT inheritance between child and parent nodes, ensuring a consistent RTT state across the hierarchy.
- Efficient RTT Clearing: Optimized the clearing of RTT nodes
- Update Loop Optimization: Removed duplicate `update()` calls for RTT nodes for improved performance
- Hierarchical RTT Node Insertion: Implemented an insertion strategy that respects the hierarchy when adding new RTT nodes, ensuring that child RTT nodes render before parent RTT nodes.
@wouterlucas
Copy link
Contributor Author

Moving the caching optimization out to another PR so we can get this in & released.

@wouterlucas wouterlucas marked this pull request as ready for review November 13, 2024 11:56
@wouterlucas wouterlucas added this pull request to the merge queue Nov 13, 2024
Merged via the queue into main with commit eb54ccc Nov 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Render to Texture flickering on Smart TVs

3 participants