How to use comparaison operator in post process

Hey !

As GPU are not meant to do branching, we usually use Lerp to avoid using ‘if’ statements

exemple

 lerp ( currentValue, potentialvalue  , currentValue<0) 

in blueprint, there is ‘if’ statements, but no individual compare operators, is there a reason ? ( compiler translate automatically to lerp the if statements ?

Are they available and i’m missing them somehow ?

Thanks !

I’m a bit confused. Are you asking about materials or BPs ?

Materials editor ( but i was thinking of the node editor by saying bp ^^ )
i tweeked a bit, so it work as i want now, but a proper way is always good to know ! :slight_smile: