Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Is there a way to use an ‘if’ statement in Shade?

in Shaders Posts: 56

I have been playing around in Shade, and I can’t fully grasp shaders yet. I want the shader to choose between two colors. I have the shader using a ‘Step’ node. And, for example, I would like it to choose red if the Step node returns 1 and choose blue if the Step node returns 0. Is this possible? Am I not fully understanding the correct way to use Shade?

Any help would be appreciated. I bet it is some simple thing I am missing or not getting. Thanks!

Comments

Sign In or Register to comment.