-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
fixes issue #12356 performance drop due to EnvironmentMap #12358
base: main
Are you sure you want to change the base?
Conversation
Thank you for the pull request, @jfayot! ✅ We can confirm we have a CLA on file for you. |
Thanks for the PR @jfayot! Instead of a specific Also, given that entities' positions are usually more dynamic than static models or tilesets, I'm thinking for entities specifically, we make the threshold for updating environment maps much higher or disable them entirely. That way, the environment map generation only runs once on load. |
Thanks for the review, @ggetz !
As far as you consider
I think that finding a threshold that fits for all use cases will be difficult ! It's probably better to disable the environment map by default for entities and let the user decide the appropriate options. |
@ggetz I've added environmentMapOptions to Entity constructor. Tell me if this is what you had in mind... |
Hi @ggetz , I hope you're doing well ! |
Description
This is a proposal to fix / workaround performance drop due to EnvironmentMap.
Issue number and link
Fixes #12356
Testing plan
Author checklist
CONTRIBUTORS.md
CHANGES.md
with a short summary of my change