Skip to content

benbon/unity3d-texturepackerimporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Unity3D - Texture Packer Importer Build Status

Grab the latest Unity Package here!
TexturePackerImporter.unitypackage

Authors

  • Mitch Thompson
  • Harald Lurger
  • Hays Clark

Video Tutorial

There is a tutorial for this plugin here: http://www.youtube.com/watch?v=CHQmvC1pqaY

Instructions

How to import texture sheets from Texture Packer

TexturePacker settings:

Data Format:  Unity3D (or JSON Hashtable, then change extension from .json to .txt so Unity picks it up as a text asset)
Allow rotation is OK
Everything else at your discretion
Power of 2 output textures are suggested.

Unity process:

Create a folder in your Assets/ directory for your imported sprites.
Copy the TXT and Image file (PNG, TGA, etc) into that folder.
Your paths should look something like:
	Assets/MySprite/MySprite.txt
	Assets/MySprite/MySprite.png

Shaders:

Transparent Unlit - 
	The default shader for all imported sprite sheets.
Opaque Unlit - 
	nontransparent tintable shader great for drawing backgrounds that don't need alpha.  Very efficient.
Vertex Color - 
	Does not have an inspector-tweakable color property.  All colors must be set by altering the colors[] or colors32[] array of a given mesh.  
	Supports both texture alpha and vertex color alpha.

About Texture Packer

http://www.texturepacker.com/

About

Unity3D - Texture Packer Importer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 79.5%
  • Shell 15.8%
  • GLSL 3.9%
  • Ruby 0.8%