![]() When whitespace stripping, duplicate padding is only applied on edges that have non-whitespace pixels. This can hide "seam" artifacts if texture filtering selects padding pixels. The padding will copy pixels from the closest region. The padding will also be applied to the edge of the page images. Some texture filtering averages neighboring pixels, so a padding of 2 is recommended to avoid neighboring regions from affecting each other. The number of pixels between packed images. Images that are only transparent pixels will not be packed.Īlpha values below this are treated as zero when whitespace is stripped. Two images that are pixel for pixel the same will only be packed once. Applications must take special care to draw these regions properly. More efficient packing is achieved by rotating some images 90 degrees. The amount removed is stored in the atlas data so the images can be drawn in your application as if they were not whitespace stripped. Removes blank pixels around the edges of the input images. This setting should match how the images are rendered at runtime. Packing polygons is more efficient but slower and requires knowing the project file for context. This determines how much can fit on a single atlas page image. ![]() This dialog can be intimidating at first, but many settings can be left at their defaults. The texture packer has many settings to control how images are packed. The Settings button configures the texture packer settings. On the texture packer dialog, specify the folder containing the images to pack, where to write the atlas files, and the name of the atlas. Running the texture packer separatelyĬhoose Texture Packer from the main menu: However, it can be more flexible to run the texture packer separately. This is a convenient way to export both the skeleton data and the texture atlas at the same time. The Pack Settings button configures the texture packer settings. The atlas is named using the name of the project file without the file extension.
0 Comments
Leave a Reply. |