Skip to content

Expand selected textures in a Unity project to the nearest multiple of 4 (needed for certain kinds of compression). Must be pngs, adds extra transparent pixels.

Notifications You must be signed in to change notification settings

OpaqueMegane/UnityTexturesToMultipleOf4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

UnityTexturesToMultipleOf4

Modify textures in a unity project so their width and height are multiples of 4, by adding extra transparent pixels at the edges. (Mutliple of 4 dimensions needed for certain kinds of compression).

Usage

  • Backup your Unity project (in case something goes wrong)
  • Add the script to the project
  • Select the textures you want to expand (must be pngs)
  • In the menu, choose Assets/Pad texture to multiple of 4 Done

About

Expand selected textures in a Unity project to the nearest multiple of 4 (needed for certain kinds of compression). Must be pngs, adds extra transparent pixels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages