Monday, March 25, 2013

Group tutorial: Normal mapping to bump mapping in Unity

So it turns out that bump maps made in Maya cannot be directly translated to Unity.  In order to achieve the effect, one must save the bump map as an image file (usually done with Photoshop).  Once in Unity, the image must be selected and made into a normal map (Inspector->Import Settings-> Generate Normal Map).  The pattern that affects how the normal map is used is under Material Inspector-> Shader.  Since we now have the bump map saved for our cactus, this will be done immediately.

Tuesday, March 19, 2013

Group tutorial: UV mapping

Technically, this isn't a tutorial, but just something I've learned while trying to texture the cacti for our game, Boulderdash.  It works out better if one adjusts the points into a rectangular figure and adjust as per the geometry.  Unfortunately, Unity cannot make UV maps in program, so working in Maya and then rendering (it doesn't show how the texture will work on the UV mapping editor) [Turns out setting the renderer to Viewport 2.0 fixes this.  Never mind.] is the only way I can do this.