2
$\begingroup$

I've imported data to create a mesh. This attribute is then used to color the vertices. However, it is a spiky mesh. enter image description here

I wanna use Dual Mesh to smooth it out. enter image description here

However, then the attribute (despite still being tied to vertices) doesn't work in shader editor. Now, in the spreadsheet the attribute is still there. But it of course isn't showing in the shader editor. enter image description here

How can transfer this attribute to the Dual Mesh data to show up in Shaders?

EDIT: For clarity. This Works. enter image description here

This Doesn't enter image description here

$\endgroup$
3
  • $\begingroup$ Have you tried using the Smooth modifier ? $\endgroup$
    – Gorgious
    Mar 21, 2022 at 10:10
  • $\begingroup$ That works. There's acceptable methods of accomplishing this. But I'm more curious of just how it would work. Since it seems like it should "Just Work". $\endgroup$
    – TheJeran
    Mar 21, 2022 at 10:13
  • $\begingroup$ I think you have the wrong "Source position" plugged in. Since at the time the dual mesh has been converted, the attribute has already been destroyed. Try plugging the geometry output of the set position node $\endgroup$
    – Gorgious
    Mar 21, 2022 at 10:15

1 Answer 1

6
$\begingroup$

This is because of material lost. Add set material after Dual Mesh:

enter image description here

Just in case: after Geometry nodes, you should use Attribute node, then you want to get access to UV or vertex colors.

enter image description here

This is known issue https://developer.blender.org/T85962

$\endgroup$
3
  • $\begingroup$ This doesn't seem relevant. This is not UVData. It is an attribute loaded onto each vertex which is then used to color the surface. Like you have there with the Attribute. Except, when I add Dual Mesh in the Geometry nodes tree the attribute doesn't seem to be passed to shaders as expected. $\endgroup$
    – TheJeran
    Mar 21, 2022 at 10:07
  • 1
    $\begingroup$ @TheJeran Check out the update $\endgroup$
    – Crantisz
    Mar 21, 2022 at 10:26
  • $\begingroup$ There it is! You're the guvnah $\endgroup$
    – TheJeran
    Mar 21, 2022 at 10:28

You must log in to answer this question.

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