1
$\begingroup$

Can someone can tell me how to check if two colors are strictly equal, using nodes in Cycle ?

Thank you

$\endgroup$

1 Answer 1

5
$\begingroup$

One way is to split the color in components and compare them: enter image description here

This sets the material output to green if the input colors match exactly otherwise red.

Easier but works also:

enter image description here Note that the larger than node has a value > 0 (I assume this is required due to rounding errors 0.001 should also work)

$\endgroup$
0

You must log in to answer this question.

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