Publisher | Mykhaylo Titov |
---|---|
File size | 109.78kB |
Number of files | 9 |
Latest version | 1 |
Latest release date | 2012-05-18 06:24:13 |
First release date | 2012-05-18 06:24:13 |
Supported Unity versions | 2018.4.2 or higher |
This utility converts PNG file with transparency to 32bits TGA file (RGBA).
WHY IS IT USEFUL:
Unity converts all images into its own format.
There is a white border on the translucent parts when Unity imports PSD image (1_PSD screenshot).
If PNG image has transparency then Unity generates RGB components unpredictably (utility window screenshot). That image looks fine when drawing one to one (left part of 2_PNG screenshot) but has artifacts when used on 3D objects or used mipmaps (right part of 2_PNG screenshot).
TGA image has no defects (3_TGA screenshot).
USAGE:
1) Open window from Assets menu>Convert PNG to TGA...
2) Press "Load..." to open PNG image
3) Toggle "alpha" to show alpha channel
4) Press "Process..." to convert to RGBA
5) Press "Save..." to save result as TGA file
WHY IS IT USEFUL:
Unity converts all images into its own format.
There is a white border on the translucent parts when Unity imports PSD image (1_PSD screenshot).
If PNG image has transparency then Unity generates RGB components unpredictably (utility window screenshot). That image looks fine when drawing one to one (left part of 2_PNG screenshot) but has artifacts when used on 3D objects or used mipmaps (right part of 2_PNG screenshot).
TGA image has no defects (3_TGA screenshot).
USAGE:
1) Open window from Assets menu>Convert PNG to TGA...
2) Press "Load..." to open PNG image
3) Toggle "alpha" to show alpha channel
4) Press "Process..." to convert to RGBA
5) Press "Save..." to save result as TGA file