Learning How To Use Step and Smoothstep in Shaders
· ☕ 1 min read
A number of people have commented that we should be using step or smoothstep instead of some of the branching if/else blocks we’ve used in other videos (branches in shaders tend to perform worse than other functions).