All right let's go ahead take a look at how we can do some basic texturing of an object and the hierarchy
Let's go there create the 3D objects and click on
the Cuban side this scene.
Let's take a quick look at what the textures are for knocked over in the inspect your side if you're
cube select the nurse that you have a messenger and you have a default diffuse the default the few Shater
is actually grayed out.
That means that this isn't one that we can actually use this is one the Unity's loaning to us so we
can see inside the viewport.
So we need to make a new material and we can assign a texture to that but it is the material the material
is being used default to fuse.
If you see it you may see or mesh render like this and it rolled up.
Just click on the triangle that could take it down.
So let's go make a new material over in the project sign over on the left you'll see your materials
folder just right click on it and go to the Create go down to material and click on material.
And let's just type the name in for cubes.
Q Will you keep everything consist
going left click and drag this onto the cube.
Remember you do that you're actually replacing.
Q So it's no longer the default material and the cube comes with a shader by default is that the fuse
.
We can now change the shader to different ones can also apply a texture to it and we can change the
color so as to the color of fast just so you can see it working.
If you click on main color box it will open the color picture window inside of here just left click
and drag anywhere you click.
You'll notice you're in a change in the color over here.
You can change your cue or your color option bar right here and be able to adjust the color too on that
one is what the window.
You can either push enter here or you can just left click inside the window and it'll it'll go away
there when I want to do though.
Let's make sure we leave the color wide believe it like this and we don't have any textures inside of
here so let's go ahead and get some textures from you.
We go up to our assets on the menu bar and go down the E.S. import package in the import package.
If you go down what you'll probably see is something like Touraine assets.
Let's go ahead and go to.
So I think they'll be a good one let's do Touraine assets right.
Right.
When you click on it it will do the importing package option down to the bottom right and say import
imports is going to create a folder called Standard assets.
And if you notice it's outside of our level design and that's good.
That's where we want.
If you open it up and remember when you're opening things up if you want to open all of them up at the
same time like that you hold all and left click on the arrow.
If you want to roll it back up so that it's all compressed told all in close and it'll be all close
to all and left click will roll it all the way out Alton closing will keep it all together.
So we have a couple of textures in here if some grass textures that we can use terrain a little bit
later we've got some print types for buffs and rocks.
Let's take the cliff one right here and just left click and see we'll take our cue.
If you select your cue or you select your cube here either one or left click and drag are Cliff flayer
and you can actually if you notice I can drag it on to here or I can drag it over to here.
You can also click on that select button right there and you click on it.
You'll be able to see a different texture and you can cycle through the textures and see him applied
to the cube over here.
All right.
If you like it you can push enter.
So you now have a texture assigned to the cube.
It's going to be on all the faces of it.
It's very basic but straight to the point of your object with the material being assigned and a texture
being assigned to that