hey this is Kevin with blender binge back with another video for you after
taking a little break here to do a freelance project that I was doing in
blender so let's get into it I got some requests to shade this key with a metal
shader so I'm gonna show you how I go in here and set up a quick and dirty metal
shader that's going to look somewhat like a key ready let's go now the first
thing I want to show you is that I had set up this environment I put my key on
a on a flat kind of tabletop here and I have a HDR image wrapped around my scene
so if I go here to shading okay you'll see that this this scene is now being
lit with an HDR image alright it's similar to using this look dev area here
but uh but I'm not using the looked of area because I want to see what it looks
like rendered so that said okay if I go to shading and I go to world you'll see
here's my set up so I went to hgri Haven I grabbed a studio set up and I plugged
that as an environment map so I went ad okay texture environment texture and
laid this down I added that in here and put it into surface and now you can see
if I go back to shading here rendered view you can see that my that image is
wrapped around my scene okay so it's being lit by this image so to make this
video short that's it now let's get on with giving this guy a shader that looks
like metal so if I go here back to object okay my object has a principled
shader on it I'm in blender 2.8 it gives us this plinth principle shader by
default so the first thing I do is my key is a bronze key alright I'm gonna
give it a bronze shader so I'm gonna give it a bronze color so the first
thing I want to do is kind of find a bronze ish base color maybe a little
more red a little less than copper alright and start off with that
next being that it's metal okay I'm going to give it a metallic value of one
we'll slide that all the way up and now it's metallic and metal is you really
see metal when it reflects the environment that's why I have that HDRI
lighting this because it gives it it gives it nice reflections you see metal
okay so yeah it kind of looks metallic right but not really well the next thing
down here is roughness okay roughness controls how much this reflection occurs
and there's a really good video on using metallic textures and shading up here
this guy Andrew price I'm pretty sure you've probably seen in blender guru
does a really really good job in a whole breakout video explaining this I'll link
to it up here so you can go check it out really really good recommend it but
anyway so here we have kind of a very mirrored surface alright because we took
this this roughness all the way down so roughness basically just approximates
how rough a surface is how the light interacts with a surface okay this is a
perfectly flat surface so the light comes in bounces off and returns to your
eye giving you a perfect reflection whereas if I turn the roughness up here
all right it starts putting like little micro facets into the surface it breaks
up the light and gives you more of an interesting kind of you know
non-mirrored look so right off the bat here we have something that looks pretty
metallic right it's looking pretty metallic so the last thing I would do
here is go and kind of break it up all right so to do that I can break up
the roughness by giving it a roughness map so I'm gonna go ahead and add a
image texture and I'm gonna plug that in to roughness and what I'm gonna do is
I'm gonna grab an image texture so I'm gonna go to open and I have one that I'm
gonna show you called roughness copy so you don't see the map showing up on here
because I don't have a vector for this okay I don't have UV maps broke
for this yet so I'm just gonna go ahead and I'm going to add in input and I'm
going to say texture coordinate' and I'm just gonna say generated for now and
it'll show you what we need so this map this roughness copy map alright let me
show you what that is here I'm gonna go to rendered I'm gonna go to roughness
copy okay I made this little image white and black now roughness is black here is
a mirrored surface okay when you plug that into roughness anything black will
be very shiny and very MIT's and very mirror looking whereas white will be all
washed out and a very rough surface so if I go back here to shading you can see
here that white gives it a very kind of almost a matte looking metallic finish
ok but the light just kind of spreads across the surface there's a lot of
little break up so the light just kind of bounces around and here where it's
black it just reflects right back in your eye like a mirror okay so when I
first started using roughness that got a little confusing to me so hopefully now
it's not confusing to you ok black his mirror white is rough so knowing that I
can go ahead and I showed you another little image up here when I go to
rendering scratched surface okay so I have this scratched kind of surface this
thing I made in Photoshop and I'm gonna go here and plug this image into that
and show you what happens go back to shading so instead of this roughness
copy map okay I'm gonna delete that I'm gonna go
to open there are the textures I think it's in here scratched and scraped
texture roughness hit open and now you see that I have a very kind of scratched
looking surface so I'm gonna go ahead and change color to non color data
alright because we don't really want the color of that even though there's no
color in there I'm just gonna take all the color data out I'm just gonna use
pure black and white and you can see here that we're really kind of getting a
scratched looking non perfect shader here
okay where the white stuff is very kind of diffuse and the black areas are very
metallic now so art direct this which inevitably you're gonna want to do cuz
you're an artist right you want things to look physical but you also kind of
want them to look you know be able to direct it you can add in and in a little
control in here that allows you to change the look of that so I'm gonna go
ahead I'm gonna right-click on that there actually I'm going to say add and
I'm going to give this a let's see color and I'm gonna say invert and I'm gonna
drop that in between here and now you have this little factor and you can
change that factor okay this is inverted you can kind of play with it and you can
kind of art direct this to however you want it to look so this is what we had
factor of zero alright I start inverting this and it starts making the white so
fifty percent will be gray so you won't you won't see any look at all they won't
this would be completely flat gray and then here it'll start inverting and you
can start getting a different look okay so if you wanted to invert that and this
will be more kind of what what you're looking for with the key so that's how I
would go ahead and start setting up this shader and there's quite a bit more you
can do you can really play with that scratch surface you can do more you can
right here you see that we have this image kind of going down here I don't
want to make this video too long where I start breaking out the UVs and doing all
that because that just gets kind of overkill but you can go ahead and watch
there's a video up here I have on UVs and you can break out the UVs and really
go to town texturing this whole thing but this is kind of a quick and dirty
setup for anything that you want to be kind of metallic looking alright and
we're using kind of a bronze texture here and this should work for you and
get you kind of in the ballpark for what you want to do and play with so
hopefully you got something out of this video if you did hit like subscribe hit
that little Bell notification and I'm gonna start producing a lot more videos
now that uh I think this gig is over so carry on go have fun see you next video