in this video,
we're going to be applying the material to our tree.
Let's first do the wood materials to go ahead and select the trunk of your tree.
And if you were to go into edit mode to try to you be unwrapped this,
you'll notice that this is a curve.
It's not a mezzo trying to UV unwrap.
This would not be good.
So what we need to do is convert this to a mess.
To do that,
you can right click or present W.
And then there's an option to convert to mess.
Once you click on that,
we could go into edit mode,
and now we have Vergis ease.
The next thing that will do is create a material,
so let's go ahead and open up this shade or editor and apply a texture.
So come appear and change this to shade or editor.
Then press end to close off that toolbar.
Hit the new button and we'll call this material bark right there.
And now let's add in the texture.
The texture that will be using is linked in the article of the section or in the project
miles.
So once you have that,
we can continue.
Go ahead and press shift and added a image texture note right here and take the color and
plug it into the base color of the principal Chatur and then hit open.
Once you found the texture,
go ahead and cook on it and go open image.
Then what I'll do is I'll add some bumps.
Surprise shift A will go to vector and then bump take the color up it and plug into the
height and the normal into the normal of the principal Chatur.
I'm gonna be setting the value of this 2.8.
And for the roughness of the principal Chatur,
I'm gonna drive that all the way up to a value of 0.9 and I'll drive the speculator down
just a little bit.
Once we do that,
our material is done and we can go ahead and move on to UV unwrapping this.
To do that,
I'm gonna go over to the U B image editor And if we go into textured view right here,
go A president going to looked up.
We should see our texture right here,
but it's really stretched out,
so we need to UV unwrap this so going to edit mode,
impress a to select everything and go you and what we're gonna be using its smart UV
project and then hit.
Okay,
now,
this will probably take a couple minutes to figure out.
You can see Blender is not responding already.
So I'm going to be back in just a couple minutes once this has figured it out.
Okay.
Has finally UV unwrap that took a little bit of time.
And if you don't want to wait for it to you be unwrapped.
What you can do is just select one of these vortices and hit control l and that will select
that whole tree trunk right there.
You can hold shift.
So,
like this one control l and then go you and just smart UV.
Unwrap those two trunks and you should be OK.
You can't even really see the branches,
so you'll be unwrapping everything isn't really necessary.
So if your computer can't really handle that,
you can go ahead and just do those trunks right there and maybe that one up their control.
L and that will select it.
Now that we've done that,
though,
we can press a once or twice to make sure everything is selected.
Then I'll press s over in this window.
Type in 15 and enter.
Once we do that,
we can zoom in and we can see our tree trunk right there.
And that is looking pretty good.
You can also right click and go shade smooth just to smooth out those corners.
And that's it.
The next material that will do is the leaf material.
And to do this,
I'm gonna add in an image as planes.
If you don't have that add on enabled,
go up to edit and then preferences right here and then just type in the word image and you
should see an ad on images as planes.
Once you have that enabled you compress shipped a go under image and then images as planes
.
I want to do that.
Go over to the texture that you've downloaded and the image that will be using Is this
right here before you imported in?
Make sure you scroll down here and check Use Alfa with its set to straight because this is
a PNG and it has some awful values,
so make sure that is turned on,
then hit import image as planes Let's go ahead and bring this over to the right.
Suppose g X and move it over.
Then we'll rotate it,
suppress our then why 90 and then enter,
go into taught view and then rotate this around so we can actually see it straight on.
And then we'll go into edit mode.
We're gonna be cutting this image in half and only using this side.
So hit control are then left,
click and then right click.
So it snaps right to the middle,
then go into face select mode,
select this face right here,
then hit X and then delete it.
Then go over to the object data panel,
which is this one right here.
Then go underneath UV maps and then add in a new UV map.
We're gonna be calling this UV map back,
so just double click on it and type in back.
Then,
with this one's elected,
I'll press a G,
then why?
And I'll drag it up till it's under the other leaf right there.
We're doing this because I want one side of the leaf to have this texture and the other
side to have this one.
We're gonna be doing this in the Shader editor with a quick,
pretty easy set up.
So let's go ahead and do that real quick.
Go over to the Shader editor and then with all of these notes selected box,
select everything and then move it over to the left.
So we have some more room.
The first thing that will do is add in a trans Lucien Shader and what this will do is it
will just have light be able to pass through the leaf.
So to do that,
I'm gonna go into Shader and then mix Shader and place that right here next to that if you
shader then per shift,
they will go to Shader and translucent right here.
Take the output and plug it into the bottom Input of the mix Shader.
And then set the factor of this to a value of 0.1 for the color.
I'm gonna drag this down to be about halfway So right about there.
It has a nice gray color and you can kind of see it in the Beaufort right here.
But light will be able to see through that.
The next thing that will do is just add in some color variation so that some parts of the
tree have some different colors and this will just give it some more variation.
And it won't look as uniform to do this.
I'm gonna press ship day at in a converter,
and Colorado will place that right here.
Next will brush it day and add in a texture and a magic texture and will place that right
here.
Then take the color and plug it into the Colorado.
And to plug this into this shader right here,
I'm gonna add in a color and mixed RGB and will place that here,
take the color output and plug it into the color of the mix.
Shader then said this to color.
Now,
here is where we set up the color for our for our leaves.
So for this 1st 1 I'm just going to changes to a dark green color.
So right about here are so dark green,
and then I'll hit.
The plus sign will change this one to a kind of like a less saturated,
darker green.
Somewhere around there looks pretty good.
Hit the blessing again.
We'll bring it over here.
This one will be a light green.
So something like that.
And finally,
this woman will have,
like a kind of brownish kind of dead leave looking color somewhere around here.
Or so at the moment,
you won't really see too much of a difference,
and that's because we need to apply it to our tree.
But before we do that,
we need to set up the back of the material.
And to do this,
I'm going to box,
select everything,
press shift D and move it up.
And over here I'm gonna press shift a go to input and then attribute.
And since we created this UV map,
all we need to do is take the vector,
plug it into the image and set this to back and make sure you spell it correctly with the
capitals.
And then all we have to do to plug this in is come over here,
select this mix shader and duplicate it.
Place that here.
Then take this,
mix shader and plug it into the bottom input of this one.
Then we'll brush if they go to input at an a geometry node,
and then there's an option for back facing,
and you're gonna want to plug that into the factor.
Once you do that?
If we look underneath,
you can see that texture.
If we look over top,
you can see this texture.
And that is what we want.
And that looks pretty good.
Now that material is done,
we need to know.
Apply this to all of the leaves over here.
So how we're going to do this is we're going to hold shift.
So,
like this one,
then select this one last.
So this is our active object.
Hit control L.
And then go transfer UV maps.
Once we do that,
we can go ahead and go over to the material for these leaves.
Add in that texture right here,
and we should see all the leaves now have a leaf texture,
which we can see it right there.
And that is looking pretty good.
I think it is rotated the wrong way,
though,
So let's go over into the UV map and see how that looks will go into edit mode.
And the UV map did not seem to transfer.
So we're going to have to do that manually now to line up the UV map properly.
I'm going to come over to this window,
make sure everything is selected by pressing a.
Then I'm gonna hit are and I'm gonna hold control and rotate it 90 degrees.
There we go and you can see the stems.
Now line up with the branches right here.
Let's go ahead and bring in that image.
So come up here and select that leaf image,
and then we'll line it up again.
Then what we need to do is press G.
Then why?
And drag it up right about here and then press s why and scale it in words until it fits
the UV map.
And it's going very slow because it's trying to calculate every single one of these leaves
.
G.
Why will drag it up now that that one is lined up correctly?
Let's go ahead and add in a new UV map so that plus sign type in the word back and then
enter.
Make sure you spell it correctly.
Then,
with this UV map selected,
I'm gonna hit G.
Why?
Negative 0.5 and enter.
And there we go.
So now if we look underneath,
we should be able to see that other texture and I think we can see up.
We can see it right there.
Okay,
so there we go.
The materials are done.
I know that was quite a bit,
but hopefully you guys followed along and we can see that there are some different colors
and it's looking pretty good.