1
$\begingroup$

I want to be able to tell if an input for a geometry node is empty or not.

So far I found I can check if an object that is set from an input is empty or not like this.

enter image description here

This feels like a hack and I wonder if there is a proper way for doing this.

Also I will like to check if a material is empty or not when it comes from an input, I tried comparing the input material with an empty one but it seems like the result can't be used in a switch node

enter image description here

$\endgroup$
4

1 Answer 1

-1
$\begingroup$

regarding the material input check, I found a solution purely by chance. enter image description here

$\endgroup$
1
  • 1
    $\begingroup$ the red link means an invalid connection. Use "Sample Index" node to check the field for the first face, and then a "switch" node in "material" mode. $\endgroup$ Commented Sep 6 at 13:31

You must log in to answer this question.

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