Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haysclark/unity3d-texturepackerimporter
Unity3D - Texture Packer Importer
https://github.com/haysclark/unity3d-texturepackerimporter
Last synced: 3 months ago
JSON representation
Unity3D - Texture Packer Importer
- Host: GitHub
- URL: https://github.com/haysclark/unity3d-texturepackerimporter
- Owner: haysclark
- License: mit
- Created: 2013-12-27T00:20:18.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-14T02:11:38.000Z (about 10 years ago)
- Last Synced: 2023-08-05T23:42:08.478Z (over 1 year ago)
- Language: C#
- Size: 304 KB
- Stars: 38
- Watchers: 15
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Unity3D - Texture Packer Importer
[![Build Status](https://travis-ci.org/haysclark/unity3d-texturepackerimporter.png)](https://travis-ci.org/haysclark/unity3d-texturepackerimporter)Grab the latest Unity Package here!
[TexturePackerImporter.unitypackage](http://haysclark.github.io/unity3d-texturepackerimporter/package/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/