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$
2
  • $\begingroup$ Just found a bug in the nodes as well... Will post a link to a bug report later once done... $\endgroup$ Commented May 1, 2024 at 20:48
  • $\begingroup$ 3 years later... the stupidest behaviour of material index node still a thing... $\endgroup$ Commented Nov 6 at 9:15

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$ Commented 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$ Commented 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$ Commented 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$ Commented Oct 9, 2022 at 17:12

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.