Thursday, 22 March 2012

Modelling and UV maps in Unity

We have been practicing modeling in Maya as well as UV maps. Here I have made a tree and imported it into unity.

Unity Web Player | Tree export enviroment





Unity Web Player | Tree export enviroment

First I create the tree by manipulating a cylinder in Maya, once I did that I needed UV maps for the tree. I did this by anchoring one side of the trees vertexes and 'unfolding' it out, I did this for each individual branch to make things more simpler. I then covered the map with a tree texture in photoshop and attached it to the geometry.

For the branches and leaves I found a suitable texture on the internet and made the background transparent in Photoshop. I then placed these textures on a plane and placed them around the tree. I then exported the tree as a .FBX file so that I could use it in Unity.

Finally I added the shader 'Nature / Tree Soft Occlusion Leaves' in Unity. This would mean the leaves and branches will have transparency and visible from both sides.

This took quite a while to do so I'll have to make sure to have a lot of tome to create my game assets.

No comments:

Post a Comment