This package is just simple atlas editor.
You can create new, modify existing atlases. The output of this tool will be new Texture2D with all source images and metadata object with new image uv coordinates.
Also this utility can do alpha trimming - cut empty stipres(alpha=0) on an image border
To create new atlas Just drag’n’drop images from inspector, align and save.
package released under BSD license.
asset store art by gekatarina
p.s. And yes, you can use it for making atlases for 3d objects also (2d planes on all of screenshots is a 3d objects as well (with 4 vertexes and 2 triangles) )
I’m far from a fan of atlases and all their associated complications (at least for most sprite managers out there), but I have to admit this is very cool and handy, Nicloay. Congratulations
I somewhat agree. Although Unity does have draw-call issues that come into effect when you want lots of smaller objects, e.g. sprites/tiles etc, which makes it a problem for 2D mainly (but also 3D sometimes), the user shouldn’t really have to mess with assembling or building the sprite sheet nor making it work ie using it to create objects. Unfortunately no tool has nailed this yet. Still it looks as good as any existing solution for dealing with this.
yes, it’s open source, as specified in first post it available here http://git.nicloay.com/atlaseditor ,
Released under BSD license, which means that you can even use it in your own asset plugin more details here BSD licenses - Wikipedia
Ca you make it compatible with unity 3.5? Can’t download with that one, perhaps you can upload the asset with this unity version to the store and it will work on 3.5.
In the right column you will find widget and zip link to latest source
extrac this archive
create new project
copy part of extracted files to your project assets folder (this code for MacOS terminal, in windows you can do that through windows navigator, drag and drop Assets/UFTAtlasEditor from archive to your project assets folder)
Probably demo scenes from source in 3.5 doesn’t work because metadata is scriptable objects built on 4 version so probably it’s not compatible with 3.5
atlas texture background color in unity4 changed to transparent
With atlasMigration you can update atlas, save it with different name and then update all objects on scene.
This utility will find properties in your object, and if it has type UFTAtlasMetadata or UFTAtlasEntryMetadata and their pointed to old atlas it will change links to new one (by source texture path), and also update materials.
ShaderUtil is an unity3d class, as WhyDoIdoIt mentioned in this topic it has been opened only in 4.1 version of unity, before this version this class was available only through reflection.
Please let me know if problem is not in a unity version and describe the steps, how to reproduce this error, I’ll try to help you.
hi great tool, i asked for something like NGUI but for atlases last year. great to see someone have a go at it as my coding abilities aren’t the best.
anyway a couple things i noticed when playing with it on the mac version.
the auto tile option seems to be a bit buggy and sometimes places images on top of each other or to far away but not really an issue.
one thing i would love to see in this is a zoom tool for the atlas as like i said the auto tile isnt working very well for me so could be nice to zoom out to see larger images.
next thing to do is make it work with tillable textures haha, no complaints though awsome addition to unity
yaosheng22 Yes, it’s possible, but i’m not sure why do you want to do that, anyway you will receive 2 drawcalls for 2 calls of GUI.DrawTextureWithTexCoords methods.