Texture Tools is a plugin that enables you to tweak some aspects of your textures inside Unity. All filters/tasks run in a separate thread, so they don’t stop you from working on your game scenes.
Features:
Pixel Art Editor (NEW) - Create and edit sprites inside Unity; Import color palettes from PNG, GIF or Abode Swatch Exchange; Alpha compositing support; Multiple layers support; Multiple frames support (animated sprites); Export PNG sequence images;
SWF2PNG AIR App - Your MovieClip animations to png sequences without having to deal with messy registration points manually.
Solidify - Removes white halos from transparent textures. Solidify fixes the fully transparent pixels of your textures so they can be displayed properly when they are sampled by the engine.
Resize - Lanczos (great for reduction), HQ2X, HQ4X and HQ4X Smooth (great for enlarging pixel-art textures).
Photo Filters - InstaRetro, Sepia and Warm70s. HSL - Hue, Saturation and Lightness/Luminance. This can be useful if you’re building for mobile and can’t afford a custom shader due its performance cost.
Unpack/cut sprite atlases - A fast way to use sprite-sheets from Tiled to your favorite 2d sprite plugin.
Batch Processing - All texture modifiers can do multiple textures at once.
All filters can be run in-game!Here’s an example. This is useful for editing avatars pictures inside your game.
Updated to 1.1.0:
New solidify algorithm (50x faster. Now 2048x2048+ textures are solidified fast enough);
New feature: Unpack/Cut texture/spriteatlas (useful for importing atlases from Tiled):
Coming soon:
Installer wizard that makes the usual 2d sprite plugins solidify its texture atlases after packing.
P.S.: Obviously, I won’t include any source code from these 3rd party plugins, it justs inserts the solidify batch at the bottom of the texture packer functions.
does it support ex2D, or would this be easy to add? just curious, its not a biggie for us as we’re only interested in saving a few minutes on not solidifying in ps.
Well, on Tiled you have fixed size sprites contained in a texture for tiling. If you’re going to be using the same sprites for your maps/levels in Unity, and if you’re using a 3rd party sprite plugin (ex2D, SM2, etc…) you will need to cut the sprites and name them properly (that’s what Texture Tools does automatically) so the 3rd party plugin can repack them. Now I don’t see that being used to animate something.
Is it considered a good practice to use (for example) ex2d sprites for tilemapped 2d? If so, is Unity3D’s automatic culling of objects outside of the camera’s view a reasonable way to handle performance when handling large tilemaps or should one keep an area around the player loaded and manage that manually?
One final question. The tiled functionality that you mentioned that can bring the tilesets into ex2d sprites. Can this be executed at runtime?
Although the sprites are culled off, you would still have one GameObject per tile, at least, so if you’re loading and unloading levels at runtime, it’s best to use an object pool instead of Object.Instantiate(). Other than that, it should run fast withe the whole level loaded from a tile map.
With some modification, yes. But why? Are your tilesets dynamic?
I’m just wondering how much time that this tool could offer me out of the box (prevent me from writing the code myself). My development build loads virtually everything at runtime. We can hit a button and have the tilemaps reload instantly, etc to make it easier to iterate. All of our tools are external (it fits for us).