An open API service indexing awesome lists of open source software.

https://github.com/m039/maskextractorunity

A utility to extract some portion of an image by color in Unity.
https://github.com/m039/maskextractorunity

mask photoshop unity unity3d utility

Last synced: about 1 month ago
JSON representation

A utility to extract some portion of an image by color in Unity.

Awesome Lists containing this project

README

          

# MaskExtractorUnity
MaskExtractorUnity is a utility to extract some portion of an image by color in Unity.
# How to Use
In the picture below, you can see how you can specify diferrent colors to select some portion of an image (you may think of it as the magic wand in Photoshop). After you select all parts you're interested in, you may save it on a disk.
![Demo](https://monosnap.com/image/kcom8W3w6c4HREAA6r349oM7ufo4Gl)
## Use Case
You may use this tool to cut some parts of an image and then recolor them in Unity. You can see an example in [SampleScene](Assets/MaskExtractor/_Scenes) or [ManExtractorAsset](Assets/MaskExtractor/Data).

This what you may do with the generated masks from the example.

Before:

![Before](https://monosnap.com/image/OMvjm5tktORrFnjPGkPBXLqCDanPDe)

After:

![After](https://monosnap.com/image/1fRr3yvYGp3PpOPmPUQNAu4jD8Z2f7)

# Credits
* The icon made by [freepik](https://www.flaticon.com/authors/freepik).