10
$\begingroup$

I have build a basic house but I would like to use different textures for the roof and walls. Here is what I have now.

enter image description here

The brick texture is on the roof when i want it to be a different texture

$\endgroup$

2 Answers 2

14
$\begingroup$

The simplest way if the texture isn't UV-mapped, is to assign each face to separate materials in Edit mode:

1a

then assign appropriate texture to each material, as needed. Otherwise if the texture uses UV map, just separate the UV maps for both sections of the object:

2a

then paint each sections with the appropriate color (the roof is the top section, in this picture).

$\endgroup$
1
  • 1
    $\begingroup$ How do you "separete the uv maps for both sections"? $\endgroup$
    – invicente
    Commented Apr 24, 2014 at 20:32
3
$\begingroup$

You can also create a separate UV layer in Object Data > UV maps:

enter image description here

Blender Internal:

Assign a different material to the roof faces, then select the alternate UV map in the material texture settings:

enter image description here

Cycles:

In cycles the alternate UV map can be selected in a node setup with the Attribute node:

enter image description here

See Can Cycles use multiple UV layers?

$\endgroup$
2
  • $\begingroup$ Can UV maps also be used in attribute nodes? I was only aware of vertex colors. $\endgroup$
    – bzal
    Commented Aug 29, 2016 at 12:56
  • $\begingroup$ @bzal Yes, they can. However a separate "UV map" node has been added since this answer was written. In most cases you'll probably want to use that instead. $\endgroup$
    – gandalf3
    Commented Aug 29, 2016 at 17:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .