Don't "optimize" conditional moves in shaders with mix()+step()(iquilezles.org)
395 points by romes | 192 comments
Inigo Quilez article correcting the misconception that GPU conditionals should be replaced with mix() and step() in shader code.
395 points by romes | 192 comments
Inigo Quilez article correcting the misconception that GPU conditionals should be replaced with mix() and step() in shader code.
191 points by WithinReason | 56 comments
145 points by luu | 4 comments
123 points by ianthehenry | 9 comments