Doing imagemagick like stuff in Unity (using a mask to edit a texture)

Posted by Codejoy on Game Development See other posts from Game Development or by Codejoy
Published on 2014-07-22T03:04:57Z Indexed on 2014/08/22 4:28 UTC
Read the original article Hit count: 215

Filed under:
|

There is this tutorial in imagemagick

http://www.imagemagick.org/Usage/masking/#masks

I was wondering if there was some way to mimic the behavior (like cutting the image up based on a black image mask that turns image parts transparent... )

and then trim that image in game...

trying to hack around with the webcam feature and reproduce some of the imagemagick opencv stuff in it in Unity but I am saddly unequipped with masks, shaders etc in unity skill/knowledge. Not even sure where to start.

© Game Development or respective owner

Related posts about unity

Related posts about textures