2
$\begingroup$

Is there way to return boolean value from Material Selection Node if it's empty or has material?

For example, i want to use it with switch nodes

enter image description here

enter image description here

$\endgroup$

2 Answers 2

3
$\begingroup$

You can use Attribute Statistic node to obtain a constant (single) value type from a field:

$\endgroup$
4
$\begingroup$

If you want to check, if a Material Selection node is empty, you can compare it against another one, that is empty:

False

enter image description here

True

enter image description here

$\endgroup$
1
  • $\begingroup$ I tried this but the Result won't work with a swith statement $\endgroup$ Commented Feb 20 at 7:25

You must log in to answer this question.

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