3
$\begingroup$

What I did is the following: I created a new material and set the attribute "material index" on every face to 1 (0 doesn't seem to work). However this does not seem to have an effect on the shading of the object. I am using blender 2.93.0 - the latest stable blender version.

If you want to download the blend file you can do so here.

Here you can see the relevant data: enter image description here

$\endgroup$
6
  • $\begingroup$ Why can’t you use the material assign node? $\endgroup$
    – Chris
    Commented Jun 10, 2021 at 7:25
  • 1
    $\begingroup$ @Chris because I didn't know such a node existed. I am using blender 2.93 and not blender 3.0 . After looking into it, it seems like it is a 3.0 feature. Thank you very much. $\endgroup$ Commented Jun 10, 2021 at 7:44
  • $\begingroup$ I think it's a limitation of V2.93 GN unfortunately. The instanced mesh loses all links to the instancer object data, including materials. What's weird is if you go into edit mode, the mesh turns green. Might be a bug ? $\endgroup$
    – Gorgious
    Commented Jun 10, 2021 at 7:56
  • $\begingroup$ @Gorgious In edit mode it gets green because geometry nodes are not taken into account. $\endgroup$
    – vklidu
    Commented Jun 10, 2021 at 7:58
  • 2
    $\begingroup$ @vklidu I beg to differ :) There is an inconsistency here. In V.2.93 the mesh turns green, in V3.00 it stays grey, and in both cases the GN modifier is executed : i.sstatic.net/nqmtx.png and i.sstatic.net/Mdb1c.png $\endgroup$
    – Gorgious
    Commented Jun 10, 2021 at 8:01

1 Answer 1

2
$\begingroup$

Try linking your materials to Object rather than Object Data like illustrated below

enter image description here

$\endgroup$

You must log in to answer this question.

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