Source

Branch

1/ @ENDESGA

@iquilezles

I feel half of the problem is that people don’t quite understand when branching actually occurs, and then get convinced by the whole “ternary/if-else is bad because branching”.
This clarification helps, but I’m thinking more could be said about when complex branching does happen