How to update tree creator materials

Hi everybody,

I want to create a tree with the Tree Creator Package embedded in Unity 3D, but I cannot figure out how I can update the materials.

For example: if I assign a material to the branches and I try to edit it (by choosing the material from the project panel) the material changes, but the tree does not and if I reassign the material to the tree and press ‘Recompute Tree’ the material is replaced with the non-modified version…
As I look inside the Mesh Renderer component, I can see that there is another, uneditable material called Optimized Bark Material and it remains the same whatever action I do (except for deleting my material).

Anybody has a solution to this?

Thanks in advance.

Jymmy097

EDIT: and I cannot also set my specular color: it seems that any changes I do, do nothing.

EDIT2: It’s strange: just some properties aren’t “refreshed” and one of these is the specular color… at least it seems as whenever I update the tree, whatever the specular color, the tree looks always the same specularity

Dont update default materials, create your own material and then assign it. The scene view sometimes doesnt update instantly after editing the material.

Hi,

I have written my custom material: tree bark creator is the shader.
The problem is that the specular color does nothing: in fact, if I change it, assign it to the tree (bark material) and then recompute the tree, the editing of that parameter is missing: it just internally reset it (because my material remains the same) and my scene shows a tree which seems like plastic because the specular color is too bright. I have also noticed that Unity creates a new material for me which is called optimized bark material, it is uneditable and the specular color is always the same…