Skip to content
Discussion options

You must be logged in to vote

It depends what you mean by slow, and it would help to have a link to a demonstration page. All modelCacheSize does is allow GLBs to be garbage-collected when they are not being used by any m-v elements. This will cause them to be re-uploaded to the GPU if you decide to use that model again, rather than being instantly available (the browser likely caches the file already). The only slowness it could affect is that of switching between models.

If you're having trouble with frame-rate, then you should look at optimizing your models (reducing the number of materials, the size of the textures and the number of triangles).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by futahei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants