nasmaple.blogg.se

Unity blender trees
Unity blender trees







unity blender trees

This will make the specularity look much more realistic.įor your Alpha map, check the Premultiply button, as well as the alpha button, and setting it to -1.įor your Normal map, make sure to check the normal map button, and that you change the Normal Space to Tangent. Load your Color map to the UV coordinates.Ĭheck the Specular Color box. Enable z Transparency, and set the alpha value to 0. Move the verts around so this plane does not appear flat at any angle.Īdd a new material to the plane. With the face selected in edit mode, open the “specials” menue by hitting “W” then select “Subdivide”. Move the object center to the start of the twig. Open your leaf color map into the UV/Texture Editor, and unwrap the plane. Now go back to your original scene file, and add a plane. Now right click, and save your normal map. Then In the Normal map window, right click and select Generate. Right Click in the Hightmap window, load your new bark texture. In Xnormal, click the “tools” tab, then “Hightmap to normal map” Load up your bark texture into Gimp, or Photoshop, and desaturate it.Īpply a slight Gaussian Blur, Adjust the levels like so, Then Invert the image. In Baking Options, chose where you want to save your file to, then Hit the Generate Maps button. In Xnormal, import both your low poly plane, and your high poly plane. Now go to Sculpt mode, and sculpt the plane to give the leaves some depth.ĭuplicate your plane with “Shift + D” On one copy apply the modifier, on the other turn off the modifier. In the 3D view, change the display mode to GLSL, and change the Viewport Shading to Textured.Īdd a Multires Modifier, and set the levels to 8. Split the view and open the UV/Image Editor.Ĭreate a new material, turn on Z Transparency, and change the alpha value to 0.įor your alpha map, uncheck Color. These next new steps are optional, but making a normal map for your leaves will really help push this to the next level With this mask you can easily make your color and alpha map. Mask out your leaves from the background. Load up a photo of a small leaf cluster into Gimp or Photoshop.Ĭrop and scale the leaf cluster into either 512X512, or 1024X1024 Repeat these last few steps for the small branch that we made. Some of the UV’s may be stretched, so edit them to make the bark texture a little more uniform Right now our UV’s are too small, so scale them up. Now select all, hit “U” and select unwrap. Select the edges where branches connect, as well as an edgeloop running down the branch, and mark seam by pressing “CTRL + E” Now it’s time to UV unwrap the tree, so split the 3D view, and select the UV/Image Editor. Now we need to make the smaller branches, so add another tube.ĭuplicate this branch, and place it to make a forks. This looks too uniform, so pull the verts around a bit so it looks natural. Now merge the outer verts together, press “W” to open up the specials menu, and select Merge. to do this, delete the closest 2 faces where a branch intersects. Now we need to connect all the main branches. Repeat these same steps for all the branches.

unity blender trees

To fix this, start pulling around verts along the Y axis.Īnother thing you can do is to put the 3d cursor at the base of a branch, and rotate along the cursor. Repeat this same step for all of the main branches. Use this new segment to shape out another branch. Select one segment from the main branch, and duplicate it “Shift + D”. Start maping the tube to fit the trunk, and main branch. Press “Shift +A” and insert a tube into the scene. If you’re not using Blender, you should be able to use the same methods in whichever program you are using.įirst load your reference photo into the background. Another great thing about this method, is that you can use it in the blender game engine. (mine came out to 7,128) This allows for having multiple trees without your scene becoming too heavy. This method makes a tree with a reasonable number of faces. So I have decided to give the community exactly what they have been asking for. Vegetation has always been a neglected topic when it comes to tutorials. UPDATE: A lot has happened in the past several years, and I am fighting for my sanity.









Unity blender trees