0
$\begingroup$

I'm trying to do some beads for my model but I have a problem with the colors. I want to add lot of beads with geometry nodes and for that, randomize their color, but I don't know how to randomize the color when using a toon shader. Beads

As you can see on the picture above, I tried a mix rgb node with the random and toon shader linked, but it only gives different tones of red. Is there a way to randomize the color ramp colors while keeping the same "configuration" so I don't lose the toon shader effect?

random fac

Also tried by randomizing the color ramp as a comment said, but if I add more colors, they will combine on the beads.

$\endgroup$
2
  • $\begingroup$ I'm not sure about the way you use the Random output, maybe plug it into a ColorRamp? $\endgroup$ Commented Oct 11, 2022 at 17:06
  • 4
    $\begingroup$ Use a Hue/Saturation node - connect your color to the color input, and the random to the Hue input. $\endgroup$ Commented Oct 11, 2022 at 17:27

1 Answer 1

2
$\begingroup$

One way would be to let Shader to RGB do the tone, and your GN attribute do the colour:

enter image description here

$\endgroup$
2
  • $\begingroup$ How do I add colors with geometry nodes? I tried by myself before asking, but I couldn't do it. $\endgroup$ Commented Oct 15, 2022 at 3:45
  • $\begingroup$ Hi, @Kai! See the answers to this question which show you how, both in current and alpha versions of Blender. $\endgroup$ Commented Oct 15, 2022 at 5:42

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.