http://momowing.diandian.com/post/2012-10-25/40040842845
Unity3d how to make penetration and use the penetration model?? Solution!!!
Problem:
Colleagues through the 3DMAX made a very beautiful woman, hair this piece used to through the paste, do not know the word is not understood this, in short, is similar to the effect of leaves, but in 3DMAX inside the penetration is two pictures, a color a black and white like this
But in unity it seems that it is not possible to use such a pattern to interpret the penetration, or perhaps I do not know, then how to do?
Looked at the official tree model, finally a little understand, their model of the map is PSD format, when I opened the picture
See, there's an alpha channel.
Well, we're going to do an alpha channel right now.
Drag the two images above to the PS, hold down SHIFT to drag the black and white pictures to the color side, and now it becomes
Click the channel, casually copy a channel, named Alpha, back to the layer of black and white this picture to delete it, this time to save the PSD file Oh ~ ~ ~
Now look at how easy it is to use:
Drag the model into unity to add stickers to the model's related modules, and remember to fill in the shader
Of course, the transparent can be.
Look:
Unity3d how to make penetration and use the penetration model