0
$\begingroup$

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

enter image description here

$\endgroup$
0

2 Answers 2

3
$\begingroup$

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).

$\endgroup$
2
  • $\begingroup$ That's what im trying to do. i want to use an existing material on my geometry $\endgroup$
    – Bicukow
    Jul 23, 2022 at 10:32
  • 1
    $\begingroup$ @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). $\endgroup$
    – quellenform
    Jul 23, 2022 at 11:19
3
$\begingroup$

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

enter image description here

You might also find this stackexchange Answer helpful.

$\endgroup$
2
  • $\begingroup$ but i want to use an existing material on mesh, without "defining" a new one with "set matrial node" $\endgroup$
    – Bicukow
    Jul 23, 2022 at 10:31
  • 1
    $\begingroup$ @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" $\endgroup$
    – james_t
    Oct 9, 2022 at 17:12

You must log in to answer this question.

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