10

How do I give all selected objects the same texture without manually applying the texture to each and every object? I am trying to get some sort of box texture onto all of these cubes:enter image description here

Any steps on how to do this?

Brandon Andrews
  • 213
  • 1
  • 3
  • 7

3 Answers3

15

Apply texture to one of the cubes, then select all the cubes and the textured cube as last, then use Ctrl+L shortcut and select Object Data from the menu.

Denis
  • 13,059
  • 7
  • 60
  • 81
2

For your particular situation where you have exactly the same object, I will recommend copying the object data. Doing so will copy any materials, and UV maps to all the cubes.

(as suggested by Denis)
First select one of your cubes (say the top corner.) UV unwrap that cube, and create the material. Now select all the cubes, keeping the UV unwrapped cube as the active object, and then "link" the data. 3D view header Object > Make Links... > Object Data, or by simply pressing CtrlL then D.
Now all your cubes share the same mesh data so if you make any changes to one, all get changed (same as if you had duplicated them with AltD).


Your other option is to make a material that is not depend on a UV map, then just assign the materiel to all the cubes with CtrlL > Materials.

The simplest way to create such a material would be to use Box mapping.
Here are the needed nodes and the setting for cycles. box mapping in cycles

Here it is for the blender internal.
box mapping in the BI

David
  • 49,291
  • 38
  • 159
  • 317
0

In Blender 2.7x, click Object > Make Links > Materials.

Duarte Farrajota Ramos
  • 59,425
  • 39
  • 130
  • 187