I created a tree in sapling tree gen. Then i created a mesh from it by clicking Alt C. Then i separated leaves, branches and stem by selection, so each one has its different material and UV. Now if i am selecting leaves material, shift select branches and shift select stem and hit Cntrl G to join everything it seems working but when i go to render its a whole mess. Leaves dissappears and instead of it just black shit hanging on tree branches:)
What renderer did you use? Have you set textures to use UV coordinates in materials? If that was BI you used, have you set Receive transparent shadows for the materials?
You’re not quite helpful asking the question, too much guesswork to do on this end…
I dont know which materials you mean to set textures to use to… Because after i joined branches, leaves and stem and if i go to materials of this joined object i can see three different materials. Or you mean before parenting them i had to set this to each object?
Leaf unwrap method and material nodes as a screenshot?
Because here quick test results clearly are different…
Edit. It is easier to set materials while this is not yet one mesh but it is possible to make selections and assign materials on a combined mesh too. Grouping - Shift-G does not mean there should be one mesh.
Select objects - leaves, trunk, branches and Ctrl-J join would make one mesh.
Is this different from what you had?
Leaves as a transparent planes cover each other a lot; Cycles when there is a lot of transparent objects cancel tracing at some point which is set as Transparency bounces. Cancelled ray brings black in so you might need to increase this. Transparency has Min and Max values - Increase both to the same number. Read around or experiment what happens when not.
Natural green substances get nicer if you have Translucent in the mix - back light gets through. Front and back of the plane can be distinguished using Geometry - Backfacing.
I dont think that the problem is in render settings, because before CNTRL J, render is ok and it see my leaves, but as soon as i am joining it it becomes messy
There’s one more thing to consider - different UVs for different objects. Since they are joined now it’s necessary to tell blender which UVs belong to what. Attribute node does just that. http://www.pasteall.org/pic/show.php?id=91817
Thank you Eppo. Indeed once i add attribute to the leaf material and wrote inside of it leafUV, its start working. Ooo, this confusing Blender, each time make me to solve some puzzles.