Hello All,
I've been struggling to AND the output of two shaders. One is of a spherical distance shader and the other of a distribution shader, restricting by slope.
I AND these outputs with a colour multiply function.
Now, the thing is that it works fine restricting by distance and altitude, but for some reason not for distance and slope...?
Anybody got any ideas how to change to a proper AND function or work around the above? I have tried a few other functions, like a merge function, but all to no avail. Seems like the colour multiplier is the way to go here.
I am trying to constrain the big rocks to near the volcano (crater) and constrain them by slope as well so they will not show up where they would naturally roll down hill. I could do so by altitude - in this case- since the higher up the hill the steeper the slope, but that is beside the point.
My main goal was to find an AND port (macro/function) that would take two shader inputs and output the results of an AND-operation.
This is why I created the volcano, easy to work with 'cause you can sort of guess the slopes.
I attached the TGD file I am playing with.
Thanks for your help.
AM.