forked from OpeningDesign/Bonsai_Tutorials
120 lines
2.4 KiB
Text
120 lines
2.4 KiB
Text
1
|
|
00:00:00,000 --> 00:00:04,300
|
|
We have the texture now applied to the material.
|
|
|
|
2
|
|
00:00:04,300 --> 00:00:07,720
|
|
How do you scale it up or down?
|
|
|
|
3
|
|
00:00:07,720 --> 00:00:11,200
|
|
To do that we'll need two more nodes.
|
|
|
|
4
|
|
00:00:11,200 --> 00:00:16,000
|
|
First one is a mapping node.
|
|
|
|
5
|
|
00:00:16,000 --> 00:00:24,020
|
|
The second one is a texture coordinate node.
|
|
|
|
6
|
|
00:00:24,020 --> 00:00:31,380
|
|
To start take the vector output and connect it to the input there.
|
|
|
|
7
|
|
00:00:31,380 --> 00:00:33,900
|
|
Change this to texture.
|
|
|
|
8
|
|
00:00:33,900 --> 00:00:40,140
|
|
And then on the texture coordinate node we'll take object and put it in the vector.
|
|
|
|
9
|
|
00:00:40,140 --> 00:00:41,600
|
|
I'm not going to cover these other ones.
|
|
|
|
10
|
|
00:00:41,600 --> 00:00:46,040
|
|
You can kind of play with them as you wish.
|
|
|
|
11
|
|
00:00:46,040 --> 00:00:53,019
|
|
For example if you go to use a camera and it actually maps the texture relative to the
|
|
|
|
12
|
|
00:00:53,020 --> 00:00:55,420
|
|
camera and not the object.
|
|
|
|
13
|
|
00:00:55,420 --> 00:00:58,020
|
|
So you can play around with those values.
|
|
|
|
14
|
|
00:00:58,020 --> 00:01:03,700
|
|
Here you can see you can change the scale whether the X or Y or Z.
|
|
|
|
15
|
|
00:01:03,700 --> 00:01:12,280
|
|
If you'd like to change all those together you can do another node called value.
|
|
|
|
16
|
|
00:01:12,280 --> 00:01:14,860
|
|
Plug that in there.
|
|
|
|
17
|
|
00:01:14,860 --> 00:01:19,220
|
|
Then you can change them all together at the same time.
|
|
|
|
18
|
|
00:01:19,220 --> 00:01:25,900
|
|
You notice our texture is wrapped at 45 and that's because our origin is actually turned.
|
|
|
|
19
|
|
00:01:25,900 --> 00:01:31,980
|
|
If you remember in some of our last videos we ended up resetting the origin.
|
|
|
|
20
|
|
00:01:31,980 --> 00:01:37,140
|
|
I'm just going to quickly change that back.
|
|
|
|
21
|
|
00:01:37,140 --> 00:01:40,300
|
|
Go to effects origin.
|
|
|
|
22
|
|
00:01:40,300 --> 00:01:41,300
|
|
Where's our origin?
|
|
|
|
23
|
|
00:01:41,300 --> 00:01:42,300
|
|
There's our origin.
|
|
|
|
24
|
|
00:01:42,300 --> 00:01:52,340
|
|
Turn on move and locate it there.
|
|
|
|
25
|
|
00:01:52,340 --> 00:01:57,820
|
|
And I'm just going to change it 45.
|
|
|
|
26
|
|
00:01:57,820 --> 00:02:04,020
|
|
So the actual local axis is aligned with actual geometry.
|
|
|
|
27
|
|
00:02:04,020 --> 00:02:09,780
|
|
And there you can see that texture aligns better now.
|
|
|
|
28
|
|
00:02:09,780 --> 00:02:16,420
|
|
And then obviously you can change the rotation of the texture.
|
|
|
|
29
|
|
00:02:16,420 --> 00:02:23,700
|
|
And then how it offsets from itself.
|
|
|
|
30
|
|
00:02:23,700 --> 00:02:26,299
|
|
And again backspace if you want to reset that.
|
|
|