OpenGL Fragment/Pixel Shaders (2020)| You Need (GLSL) Step and Smoothstep in Your Life
In this video I go over a pair of vital GLSL functions used in fragment(pixel) shader graphics programming: step and smoothstep.
I take a look at the syntax for the two and then I use a line drawing function to show you how smoothstep can produce a line.
At the end of the video I briefly introduce you to what "shaping" functions are and how we can use them to manipulate what gets drawn on our OpenGL canvas.
This series is based off of the free on-line book, "The Book Of Shaders", by Patricio Gonzalez Vivo and Jen Lowe. https://thebookofshaders.com/
If you feel like donating, please donate to those two; a donation link is found on their website linked above.
Editor used: https://patriciogonzalezvivo.github.io/glslEditor/
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/ Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/ Subscribe to my lbry: lbry://@an_object_is_a#7
If you find value in what I do, think about supporting my channel: Paypal: https://www.paypal.me/anobjisa Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK Ethereum: 0x48702412F448a27be03836fb6FE6456603668030 Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here: Twitter: https://twitter.com/anobjectisa1 Minds: https://www.minds.com/an_object_is_a/ Instagram: https://www.instagram.com/an_object_is_a
316578755 Bytes