You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading several glft models that reference same Albedo, NormalMap and SpecularMap load each texture separately for each model so multiple instances of same textures end up in memory.
The textures on a disk use around 300-400kB while in memory each of them uses 32MB leading to a several GB of memory usage for dozen of models.
To Reproduce
Load several different models that reference same textures. Textures are not reused yet they get loaded each time on different model load.
Expected behavior
If different gltf models reference same texture they should reuse it and optimally load only one shared texture among them.
Screenshots
Environments (please complete the following information):
OS: [e.g. Windows 10]
UniVRM version: [e.g. 0.52.0]
The text was updated successfully, but these errors were encountered:
Describe the bug
Loading several glft models that reference same Albedo, NormalMap and SpecularMap load each texture separately for each model so multiple instances of same textures end up in memory.
The textures on a disk use around 300-400kB while in memory each of them uses 32MB leading to a several GB of memory usage for dozen of models.
To Reproduce
Load several different models that reference same textures. Textures are not reused yet they get loaded each time on different model load.
Expected behavior
If different gltf models reference same texture they should reuse it and optimally load only one shared texture among them.
Screenshots
Environments (please complete the following information):
Windows 10
]0.52.0
]The text was updated successfully, but these errors were encountered: