Closed MrBrixican closed 11 months ago
This looks good to me! I wonder if we should name these all slightly differently?
Padding
should maybe be renamed Spacing
? Although it would then need to be adjusted to actually only perform spacing on the right/bottom, and top/left of the full texture.DuplicateEdges
could then maybe just be named Extend
, and it does so regardless of Padding?Either way, merging this in for now as I like having this included!
DuplicateEdges
enables copying border pixels into padding. It copies 1 pixel in each direction and only when Padding >= 2.This helps with annoying texture bleed problems at non whole scaling/transforms for tile based games.
Additionally, subtextures are now "centered" in their packed node to allow padding on Top/Left texture page borders.