0
$\begingroup$

I have this problem where colors that I have assigned in Geo Nodes do work in Eevee but not in Cycles.

Am I doing something stupidly wrong or is this some kind of a bug?

Eevee Eevee example Cycles Cycles example Geometry Nodes setup Geometry Nodes setup Road Texture setup Road Texture setup

Yellow color is just a regular diffuse shader.

$\endgroup$
2
  • 1
    $\begingroup$ Please show the material itself. Some shader nodes are not compatible both either Eevee or Cycles. $\endgroup$
    – L0Lock
    Nov 18, 2022 at 17:55
  • $\begingroup$ Sorry I accidentally shared the post before I finished the whole question but I have added the images now. $\endgroup$ Nov 18, 2022 at 18:00

1 Answer 1

1
$\begingroup$

It's not exactly a Cycles vs Eevee problem. Your setup seems to be accumulating extra, overlapping geometry as it goes on. Eevee is more forgiving about Z fighting, but Cycles is trying to be more accurate, which results in shading problems. Using Merge by Distance at appropriate points fixes it. You also don't seem to need neither the Individual tick on Extrude Mesh (unless you need the interior faces for some other reason) nor the Separate GeometryPoint node:

enter image description here

Adding another Merge node after you Join Geometry is also beneficial as it dramatically decreases the vertex amount from ~10k to ~1.6k:

enter image description here

$\endgroup$
1
  • 1
    $\begingroup$ Thank you! This solved the problem and the instructions were extremely clear and helpful. $\endgroup$ Nov 19, 2022 at 16:22

You must log in to answer this question.

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