-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resize textures for low material quality mode.
Resize textures fow low material quality mode on HubsMeshBasicMaterial creation, for * Better reliability on iOS devices. Currently browsers on iOS can crash with huge textures * Better performance. Users choose the low material quality mode for better performance. But fetching huge textures may be costly. * Shorter main thread blocking time. It seems the main thread blocking time caused by texture image resize + smaller texture upload than the one caused by huge texture upload.
- Loading branch information
Showing
1 changed file
with
83 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters