Conditional statement in material
Hi, how can I use conditional statement (if) in material?
I didn't find any info in official documentation about that. I don't understand how it works. Why A >= B and A < B are on input?. Why A == B and B aren't highlighted? And what is on output?
asked Apr 08 '14 at 07:18 AM in Using UE4
The IF expression will compare whatever you put into A and B. Then based on that, will output what is plugged into one of the bottom 3 inputs. Here's a super simple example. In this case, the expression outputs blue because A (0) < B (100).
answered Apr 08 '14 at 10:09 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here