This tutorial teaches you how to use Mapping in the Node Editor and it’s meant for intermediate learners.
Beginner learners click here.
1. Change the view from Default to Compositing from the top menu (next to Help)
2. You should see 3 panels. The top one is the Node Editor, the bottom left is for the UV Image and the one on the bottom right is for the 3d View. To be able to see the nodes in the Node Editor make sure that Use Nodes and the Node Shaders are selected like in the picture below with the yellow highlights.
3. Hover your mouse on the 3d View panel and select the mesh to be textured. In my case, it is the wall behind the person.
4. Go to the far right of the screen and switch the view to Properties
4. In the properties menu, select Material (the ball) first and then the far right corner of the color in the Surface section (not the white part) as illustrated by the yellow arrows in the picture below:
5. A menu will appear: select Image Texture.
6. At this stage click on open and add your texture image. In my case it’s a brick wall. Select the image in the UV Image/Editor as well.
8. While still in 3d View, in Edit Mode, press U on your keyboard to bring up the unwrap menu. To unwrap means to cut your 3d object into a 2d shape. There are different options, the following are the most common:
- Unwrap (used when the seam has been marked)
- Smart UV Project (common for simple objects)
- Project from view (you get the exact same shape as seen in the 3d view. Excellent for texture painting)
I chose Unwrap.
You will see the unwrapped version of your mesh appearing on top of the image texture in the UV Image Editor.
If you cannot see it, it means that your mesh has not been selected. If that’s the case, go to Object Mode again, right click your mesh, switch back to Edit Mode and press U.
Once your Unwrap model is overlapping the image texture, click assign in the material tab.
9. In the 3d Panel, switch back to Object Mode and select the method of display to Render.
When more than 1 panel is open, remember to hover your mouse on the one you intend to use or it won’t work.
10. Hover your mouse on the Node Editor, press SHIFT + A, you will see a drop down menu: select VECTOR/MAPPING (for the purpose of this tutorial the Node Editor has been enlarged)
11. Connect the Vector in Mapping with the Vector in the Image Texture
12. Press SHIFT + A and select: Input/Texture Coordinates
13. Connect UV to Vector
14. Now, play with the X and Y value in the Scale section in the Mapping Node until you get the desired result. If you need to Rotate or change the Location of the image texture then use the other values available right next to Scale. The final result is immediately visible in the bottom right view pane (Rendered).