I'm distributing trees on a hilly terrain using geometry nodes. I've got two different node setups that each create an attribute to define the density of the Point Distribute node. Each of the two works well, as expected when fed into the density slot. However I just can't combine the two attributes into one and get the expected result. I've tried all nodes that can mix attributes, I've got all kinds of results, even the invert of the one I need, but not the right one.
One attribute defines that trees should not grow where the slope is steeper than a certain value and the other attribute defines that trees should not grow on and arround the road. My thinking is that taking the minimum of the two with a math node should work - but it doesn't.
So my questions: what am I doing wrong here? What's the right way to combine together more than two attributes to achieve a complex definition of density?
Below my node setup trying to combine two attributes: not working Below my node setup with only the one attribute: works well Below my setup with only the other attribute: works well