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

Shared textures are not reused #73

Open
gkjohnson opened this issue Oct 12, 2018 · 0 comments
Open

Shared textures are not reused #73

gkjohnson opened this issue Oct 12, 2018 · 0 comments
Labels

Comments

@gkjohnson
Copy link
Owner

Textures are always newly loaded when processing a link material, even if it is used and has already been loaded for another visual link node:

material.map = this._textureloader.load(filePath);

Should add a map of loaded textures for every load and / or add an override-able defaultTextureLoader function similar to defaultMeshLoader function so textures can be cached globally if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant