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

Disable text component optimizations if shaders are used to modify text #53

Closed
Aeltumn opened this issue Apr 7, 2024 · 1 comment
Closed
Labels
enhancement New feature or request priority: medium For tasks that should be addressed eventually.

Comments

@Aeltumn
Copy link
Member

Aeltumn commented Apr 7, 2024

Currently using shaders to add text animations will break when using Noxesium with experimental UI optimizations because it is assumed text components do not change when rendered multiple times.

We should draw a component once every few seconds regardless and check if any pixels changed in which case we continue drawing that component actively (like with obfuscated text) until the pixels have been identical for some time. The setup of having BakedComponent objects control whether it needs re-drawing is the basis for this support.

@Aeltumn Aeltumn added the enhancement New feature or request label Apr 7, 2024
@Aeltumn Aeltumn added this to the 1.3 milestone Apr 7, 2024
@Aeltumn Aeltumn added the priority: medium For tasks that should be addressed eventually. label Apr 7, 2024
@Aeltumn Aeltumn removed this from the 2.0 milestone Apr 12, 2024
@Aeltumn
Copy link
Member Author

Aeltumn commented Jul 14, 2024

Experimental UI optimizations have been reworked to support this.

@Aeltumn Aeltumn closed this as completed Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: medium For tasks that should be addressed eventually.
Development

No branches or pull requests

1 participant