Page MenuHomeAnticto

Mutable for Unreal Engine 4 | Texture Layout Packing Strategies
Updated 328 Days AgoPublic

Texture Layout Packing Strategies

There are two strategies for packing the layout textures: using a resizable layout or using a fixed layout.

Resizable Layout

If we select the resizable layout strategy we will decide the size of the layout grid. However, if during the packing process some blocks don't fit in the layout, the size of the layout will be increased automatically.

Layout Strategy_2.PNG (71×410 px, 4 KB)

Fixed Layout

If we select this strategy we will decide the size of the maximum size of the layout grid in the Max Layout Size dropdown menu. Like in the other strategy, if during the packing process some blocks don't fit in the layout, the size of the layout will be increased automatically until the layout size is equal to the maximum layout size selected. If we still have some blocks that don't fit in the layout, then the size of the blocks will be reduced.

Layout Strategy.png (72×417 px, 8 KB)

Block Size Reduction

Now the blocks have a new property called "Priority". This priority will decide which blocks will be reduced first if the layout reaches its maximum size. The block priority can be implemented by adding the desired priority in the Block Priority text box. By default all the priorities are set to 0 which means that this property it's not going to be used.

priority.PNG (289×649 px, 140 KB)

Examples and Results

  • Resizable Layout: In this example the size of the layout grid size was set to 16x16. The resulting texture compared with the block selection was:
Full_1.PNG (934×658 px, 508 KB)
Result_resizable.PNG (429×428 px, 184 KB)

The final texture resolution is 2048x2048 and all the blocks keep their grid size.

  • Fixed Layout: In this example the size of the layout grid size was set to 16x16 and the maximum layout grid size to 8x8. The resulting texture compared with the block selection was:
fixed_8x8.PNG (938×650 px, 411 KB)
result_fixed.PNG (429×427 px, 244 KB)

The final texture resolution is 1024x1024 and the blocks have a different size. This is because the initial grid size was 16x16 which was bigger than the maximum size. Most of the blocks have been reduced to fit in the final layout size 8x8.

Last Author
max
Last Edited
Oct 30 2020, 12:58 PM

Event Timeline

max edited the content of this document. (Show Details)
max changed the title from Texture-layout-packing-strategies to Texture Layout Packing Strategies.Oct 30 2020, 9:26 AM
max edited the content of this document. (Show Details)
max edited the content of this document. (Show Details)