TextureMerger
TextureMerger copied to clipboard
A lightweight library that creates a Texture Atlas from Three.js textures
Used mix instead of calculating the interpolation directly, should clear up the example a lot.
Hello! I would love to use this library to optimise our platform, though testing this on gltf models loaded in THREE, it seems the uv mapping is all over the...
var minArea = ((this.maxWidth * this.textureCount) + (this.maxHeight * this.textureCount)); *** var calculatedArea = calculatedSize.width + calculatedSize.height; why not use * ,like var minArea = ((this.maxWidth * this.textureCount) * (this.maxHeight...