I am packing all the images that goes into a background, some objects has several images, in the end, I came up with 2x2048 textures atlas, but some of the objects had the images in two different pages, there is some way to determine each images must be in the same texture?
I know that I can use folders, but in this case I should create a folder called "page1" put the images there until it complete a atlas and create another folder? Or there is a way to say that some images must be in the same texture?
Texture Packer Images Group Priority
- Đã chỉnh sửa
Images in the same folder will be packed into the same texture atlas page image, unless they don't fit, then they will spill over to a new page. Images in different folders will never be packed to the same page images. There is a combine subdirectories setting that causes everything to be packed together, even if in different folders. By using a pack.json
file you can have some folders packed to separate atlas pages and others use combine subdirectories.
You could have a page1
folder, as you mentioned. You can name the folders anything you like.