- Home /
The question is answered, right answer was accepted
Tree Creater won't render mesh leaves.
I know this question had been asked before but it hasn't been answered; as far as I know. I just got started in tree creater and it is very useful. One problem I'm having is that when I choose mesh leaves and select the mesh, a leaf I created in blender, it loads but there is no leaf showing. I manually put the leaf material over the optimized leaf material that was there and it showed the leaves but they were all over. None were in contact with the tree. I've made trees in blender so if there's no fix I'll survive but this tool is very helpful. One more question. Can you sell the trees you make with the tree creator on the asset store. Thanks.
Another even bigger problem is that the trees I create with tree creator don't receive shadows. If someone has a fix for that. Thanks.
Yay another bug. Now the material is all funky and there is a warning message that says; $$anonymous$$aterial doesn't have a texture property '_ShadowOffset'.
Answer by Zaffer · Dec 14, 2012 at 03:17 AM
Hi Baldinoboy,
Check out this tutorial, I think it will answer most of your questions.
Zaffer
Thanks. That is a very helpful tutorial. I think I know were I was going wrong with the leaves. I guess the tree creator trees just don't receive shadows which is strange. Thanks again for the link.
Hi, $$anonymous$$y tree creator trees all receive shadows O$$anonymous$$. Do you have all your tree mesh renders set to cast and receive shadows?
$$anonymous$$aybe it's only realtime shadows. I don't have pro. For me nature shaders cast shadows but don't receive. Any other shader works fine for shading but of coarse you can't use that on terrain.
Oh well. I think I'm going to just stick to custom models and manual placement. I do love the performance benefit of terrain trees. Do you think Unity can handle a forest of medium poly trees with 2048 textures. I know that's a lot to ask. Just wondering. Thanks
Answer by Snas · May 06, 2014 at 09:26 PM
I had some of the same issues: Mesh not appearing, or oriented the wrong way... but I've found a solution that worked for me:
When your meshes aren't appearing, even when applied, likely the issue is that the mesh you want to use is hidden within the import mesh. You may need to expand the mesh/object item to show it:
In my case, I had to use the mesh called 'Default,' shown here as the third item, and not 'LeafDome1_opt' that reflects the name of my file. Selecting this inner mesh worked!
Secondly, you may need to re-orient your mesh within your modeling software: 1) Ensure that the mesh's center and pivot are located where you want your leaf mesh intersecting with your branches. 2) Rotate your leaf mesh (within your modeler) to stand upright from the origin. The new 'up' direction of my leaf was interpreted as the Z axis within Unity, with the top of my leaves facing into the screen (pos Z direction) 3) Export mesh and import again.
Follow this Question
Related Questions
Tree Creator variations 1 Answer
"Tree Soft Occlusion Leaves" shader has been shafted? 0 Answers
Tree Leaves are light up at night 2 Answers
Fix Leaves as planes in URP? 0 Answers