WEBVTT

00:00.150 --> 00:03.820
Welcome to combining shaders in cycles.

00:04.020 --> 00:10.260
In this video you give the eye a material that is a combination of different shaders using the node

00:10.260 --> 00:10.950
editor.

00:11.190 --> 00:13.700
So let's hop straight on over into blender.

00:14.860 --> 00:16.750
So I've got my two eyeballs here.

00:16.750 --> 00:19.980
Remember they're a mirror of one another so one of these is real.

00:19.990 --> 00:23.240
And one of them is essentially a reflection of it.

00:23.380 --> 00:28.780
As I mentioned before make sure if you get a flat shading that the eyeballs are facing outwards from

00:28.780 --> 00:30.020
your rabbits.

00:30.160 --> 00:36.020
I'm going to go straight into this eyeball here using the number pad full stop.

00:36.130 --> 00:37.440
That looks like it is the one.

00:37.450 --> 00:38.160
Yes it is.

00:38.170 --> 00:43.110
When I hop into edit mode it's just going to remember to turn smooth shading back on.

00:43.180 --> 00:45.090
Eyeballs are quite smooth.

00:45.160 --> 00:49.100
So with the whole eyeball selected we're going to assign it's a material.

00:49.150 --> 00:50.870
So let's go to the materials tab.

00:51.790 --> 00:52.900
To make this a bit bigger.

00:53.050 --> 00:57.040
And I'm going to create a new material and just call it a ball.

00:57.040 --> 00:59.330
Now we're going to see too much of this eye ball.

00:59.350 --> 01:01.200
But it's still worth getting this bit.

01:01.210 --> 01:02.400
Right.

01:02.460 --> 01:08.410
And just leaving it as it is at the moment I'm going to set the colour to bright white and those who

01:08.410 --> 01:10.180
assign it to the ball.

01:10.240 --> 01:11.740
Excellent.

01:11.750 --> 01:20.470
Now it's not going to be just a diffuse colours going to be a mixture of that plus a glossy colour his

01:20.530 --> 01:23.080
eye balls are slightly glossy.

01:23.080 --> 01:24.910
So let's go ahead and do that now.

01:24.910 --> 01:30.160
So when he opened up the note editor so going to create a I'm going to go at the top here.

01:30.220 --> 01:35.590
Well first thing we've had to do something here I'm just going to press the plus here and I'm just going

01:35.590 --> 01:39.280
to name this something else.

01:39.640 --> 01:44.850
I don't know I bought for the moment because that's what the workspace I'm using for I'm going to generate

01:44.860 --> 01:46.210
a new workspace from here.

01:46.210 --> 01:48.050
The reason why I've done that is I don't.

01:48.320 --> 01:52.710
I know that going through this process I'm going to ruin my default layouts.

01:52.780 --> 01:57.790
And of course this is going to be specialists for just this one case anyway so we're going to have to

01:57.790 --> 01:59.390
open up the node editor.

02:00.330 --> 02:01.000
There we go.

02:01.050 --> 02:01.380
Wow.

02:01.380 --> 02:05.520
That's small so I'm going to zoom in and we can see the way it's set up.

02:05.520 --> 02:08.970
We've got a diffuse shader.

02:10.120 --> 02:16.010
And the outputs is what it looks like something to turn on rended mode here.

02:16.790 --> 02:20.900
So we can see what's going on and not so Lofts at the moment.

02:20.900 --> 02:25.970
That's probably because there's no light in our scene some just going to turn the lamp on as well.

02:26.060 --> 02:27.370
Much better.

02:29.780 --> 02:31.570
So you've got this the fault shayler here.

02:31.620 --> 02:34.310
I'm going to change the lamp type to a sun.

02:34.610 --> 02:35.430
So we've got.

02:35.450 --> 02:37.100
Ah I hear.

02:37.130 --> 02:39.430
And let's go back to it.

02:39.680 --> 02:44.640
We have a diffuse shader going into the output which is what it looks like.

02:44.780 --> 02:52.160
Now I'm going to go down here to where it says add and go to another shader and it be a glossy shade

02:52.160 --> 02:55.180
up and I'm going to place that here.

02:55.910 --> 03:03.770
Now the next thing I need to do is mix these two shaders into one before they go to the surface in order

03:03.770 --> 03:04.220
to do that.

03:04.220 --> 03:06.410
Im going to use something called a mix shader.

03:06.410 --> 03:14.030
Now there are two ways essentially of combining these shaders ones ever a mix shader or an add shader.

03:14.180 --> 03:18.560
They have to be careful with an ADD shade because it literally adds the values together so you can end

03:18.560 --> 03:20.720
up with something that is incredibly bright.

03:20.720 --> 03:26.750
But in this case we want a mix shade because we want to be able to control the ratio between fuse and

03:26.900 --> 03:28.030
glossy.

03:28.220 --> 03:36.110
So I'm going to add this time in a different way with shift in a like you used to when adding a a primitivo

03:36.110 --> 03:38.690
or something like that in the 3D editing mode.

03:38.900 --> 03:43.060
And I need to add a shade of type mix.

03:43.070 --> 03:49.790
Now another way of doing that is if you know the name is you can click on search here and I've obviously

03:49.820 --> 03:53.980
previously searched MC shade up the moment you type in mix.

03:53.990 --> 03:57.160
It's one of the options there so I'm going to click MC shader.

03:57.290 --> 04:02.570
Now I can immediately place it on top of this line here and you see it goes orange.

04:02.710 --> 04:05.310
And when I click it's going to link it in.

04:05.360 --> 04:05.990
Brilliant.

04:06.750 --> 04:11.740
The final thing we need to do is go from whereases be STF on the cross he showed up.

04:12.670 --> 04:15.910
Plug it in to the shader down here.

04:16.060 --> 04:22.640
And now we can see we've actually got a bit of speculative bit of gloss to our eyeball.

04:23.850 --> 04:28.530
The final thing with the MC shader is of course there's this factor here.

04:28.530 --> 04:36.210
And so we can make it 100 percent diffuse completely ignoring the settings we've got on glossy or we

04:36.210 --> 04:38.490
can make it 100 percent glossy.

04:38.550 --> 04:43.360
We don't want to either we want it somewhere in between and we can always go ahead and alter this later.

04:43.500 --> 04:50.040
But the default value of about point two or thereabouts is perfect because it gives us a little bit

04:50.130 --> 04:52.430
of a gloss to it.

04:52.680 --> 04:53.580
Perfect.

04:53.640 --> 04:56.360
So I feel a challenge coming on for you guys.

04:56.400 --> 05:02.430
I would like you to create the rest of the materials so go ahead and create and assign the following

05:02.430 --> 05:03.880
additional materials.

05:03.960 --> 05:12.840
The iris and pupil use the eyeball material as the starting point remembering to make it unique for

05:12.930 --> 05:15.520
each material.

05:15.520 --> 05:18.470
Then finally use the reference material.

05:18.510 --> 05:25.850
If you find that necessary to make sure that the eye has the pupil and the iris in the right proportions.

05:26.040 --> 05:28.670
So pause a video now and give that again.

05:31.220 --> 05:31.870
Okay guys.

05:31.880 --> 05:32.780
Welcome back.

05:32.780 --> 05:36.880
Let's hop over into blender and assign the iris and pupil materials.

05:38.100 --> 05:38.570
Right.

05:38.580 --> 05:44.790
So the first thing I'm going to do and you can do this in any particular order that you want so I'm

05:44.790 --> 05:47.700
going to create the two new materials first.

05:47.700 --> 05:49.600
Or at least the slots for them.

05:49.740 --> 05:53.910
And I'm going to click here and pick up.

05:53.910 --> 05:54.830
I bought.

05:55.580 --> 06:00.840
And then I'm going to click the number two here to make it a single user copy.

06:01.340 --> 06:03.850
And I'm going to call that Iris.

06:03.910 --> 06:06.410
I want to do the same to this one underneath.

06:06.410 --> 06:09.280
I'm going to click here select eyeball.

06:09.290 --> 06:15.630
Make it a single user copy by clicking the number and naming that one pupil.

06:18.010 --> 06:20.200
Now depending on which one we're on.

06:20.500 --> 06:23.950
We obviously are going to be changing the materials.

06:24.100 --> 06:29.100
If we had not made them unique when we change one material it will change the original eyeball mature

06:29.100 --> 06:30.580
and we don't want that to happen.

06:30.850 --> 06:36.010
So with the pupils selected I'm going to go down here to diffuse and change that to black and just going

06:36.010 --> 06:42.730
to have my pupil completely black on both of these that the colour of them blacked out for the time

06:42.730 --> 06:49.890
being I'm going to make my iris probably an orange brown colour to match the iris we were making earlier.

06:50.080 --> 06:55.680
But that would just be for reference because shortly the colour itself would be overridden by a texture.

06:55.720 --> 06:57.480
But that's in an upcoming lecture.

06:57.820 --> 07:01.580
So finally we need to assign these new material some of them.

07:02.400 --> 07:06.150
Squeeze this one down a little or if I pick up the right thing.

07:06.540 --> 07:07.850
Let's pull this down.

07:07.850 --> 07:15.210
Skip bring the head of barback with this little Plus down here and change this to solid Hopkins edit

07:15.210 --> 07:20.330
mode and let's just have a look from about here.

07:20.370 --> 07:24.210
So these select everything I'm going to you circle select because it's going to be the easiest thing

07:24.210 --> 07:30.950
and of course I can make this circle bigger and smaller and I'm going to select everything here.

07:31.960 --> 07:39.600
And assign once the select there in a sign that that's of course you won't be able to see these assigned

07:39.610 --> 07:43.140
materials into urine material view.

07:43.130 --> 07:45.550
So I'm going to leave it like that for the moment.

07:45.550 --> 07:52.420
Now finally the actual pupil itself now rabit pupils are quite large.

07:52.480 --> 07:56.630
So let's go ahead here and again.

07:56.650 --> 08:01.790
These select everything circle selects bout that much I think.

08:02.510 --> 08:05.680
Ang Let's go to pupil and a sign.

08:06.540 --> 08:07.250
Excellent.

08:08.020 --> 08:13.210
With that in mind I'm probably going to make the iris slightly bigger as well so I'm going to use a

08:13.210 --> 08:14.520
loop select here.

08:14.530 --> 08:19.540
So we got face in a select loop around there go to Iris and sign.

08:19.840 --> 08:24.090
So we've got all of our materials now assigned to our model.

08:24.220 --> 08:27.740
Of course we can very quickly check that and see how this is looking.

08:27.780 --> 08:31.170
So let's go ahead and render the image.

08:31.690 --> 08:35.010
I believe I've got it all set up to render correctly.

08:35.010 --> 08:35.990
So what have we got here.

08:36.010 --> 08:36.470
There we go.

08:36.470 --> 08:38.340
So we've got our bunny.

08:38.620 --> 08:39.760
It's looking good.

08:39.760 --> 08:40.210
Excellent.

08:40.210 --> 08:41.630
How did you guys get on.

08:41.690 --> 08:44.060
Please share your eyeball in the discussions.

08:44.210 --> 08:46.740
And see you in the next lecture.
