0

How does the Set Material Index node work? I placed it after the generated cone mesh, but it does nothing..

enter image description here

quellenform
  • 35,177
  • 10
  • 50
  • 133
Bicukow
  • 901
  • 1
  • 5
  • 18

2 Answers2

3

You want the Set Material node, not the Set Material Index node:

enter image description here

You might also find this stackexchange Answer helpful.

james_t
  • 5,446
  • 8
  • 29
  • but i want to use an existing material on mesh, without "defining" a new one with "set matrial node" – Bicukow Jul 23 '22 at 10:31
  • 1
    @AlexanderBicukow -- this does not create a new material; it only lets you reference one of the existing Materials you had assigned to an existing material "slot" – james_t Oct 09 '22 at 17:12
3

Just briefly for further explanation:

Set Material defines a new material for the selected geometry. This node is basically used when a geometry is created with Geometry Nodes, because for the geometry created in this way there is no assignment to a material before.

However, if you use an existing geometry (for example, with Object Info), then you can use the Set Material Index node to apply a specific material from the previously assigned materials to the geometry (or parts of it).

quellenform
  • 35,177
  • 10
  • 50
  • 133
  • That's what im trying to do. i want to use an existing material on my geometry – Bicukow Jul 23 '22 at 10:32
  • 1
    @AlexanderBicukow I understand. But your existing material will only be applied to the geometry you provide via Group Input, but not to the geometry you create inside the Geometry Nodes (Cone). – quellenform Jul 23 '22 at 11:19