patriciogonzalezvivo / thebookofshaders

Step-by-step guide through the abstract and complex universe of Fragment Shaders.
http://TheBookOfShaders.com
Other
6.05k stars 688 forks source link

simplify smoothstep maths #245

Closed julienmoumne closed 4 years ago

julienmoumne commented 5 years ago

except if there is a pedagogical reason for using smoothstep twice, using it once seems simpler to understand

patriciogonzalezvivo commented 4 years ago

Good point! Thanks