Grim-es / material-combiner-addon

Blender addon for material combining, uv bounds fixing
MIT License
451 stars 36 forks source link

output image size is too larg. how to fix it......please #94

Open kinza3452 opened 2 months ago

kinza3452 commented 2 months ago

output image size is too larg. how to fix it......please

EddieEldridge commented 2 months ago

You can adjust the size in the Properties. image

Grim-es commented 2 months ago

1) You can adjust the size of the atlas by selecting "Custom," as shown in the screenshot above. 1) Make sure your UV maps aren't extending too far out of bounds, or it will cause images to duplicate to fill that large UV space. 1) Consider the number of materials you want to combine and their original image sizes. If you're combining multiple 4k or 8k textures, you can create a single atlas for a few of them. 1) If your original textures are too large, you can resize them to 2k or 1k on the atlas. To do this, click on the gear icon next to the material in the combiner's material list and enable the "Custom image size" checkbox.

There's a limit of a maximum of 20'000 pixels in width or height, or it will result in a memory error. Therefore, the common maximum size for textures is 2k or at least 4k. I've heard that video cards don't handle 8k textures that well (even though such atlases are often used), let alone 20k.