Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rendering multiple movie textures #2228

Merged
merged 3 commits into from
Jun 10, 2021

Conversation

MoritzBrueckner
Copy link
Collaborator

@MoritzBrueckner MoritzBrueckner commented Jun 10, 2021

Fixes #1562.

Previously, the rendertarget used for rendering movies was static. This PR makes the rendertarget non-static and instead adds a cache that makes it possible to reuse rendertargets with the same size to lower memory consumption compared to not using a cache.

@luboslenco luboslenco merged commit 24d917a into armory3d:master Jun 10, 2021
@MoritzBrueckner MoritzBrueckner deleted the fix-movie-texture branch June 10, 2021 19:18
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.

can't play more than one video as material
2 participants