GLSL 2D Tutorials

As a follow up to the Book of Shaders port last week, I wanted to add another resource that I read through several times when first getting my bearings with GL. GLSL 2D Tutorials - an example that’s currently up on Shader Toy https://www.shadertoy.com/view/Md23DV.

From Uğur:

Getting your bearings with GLSL can be a bit of a rodeo when you’re first getting started. Uğur’s 2D tuts were a huge help to me when I was first getting started, and they often show examples that are a little more granular than The Book of Shaders.

Hopefully this set of examples will help you get started and get your gl bearings here in Touch.

When possible, I’ve copied the examples as faithfully as possible. What that means is that there may be better ways to approach some challenges - but what you’ll find here is as close to the original tutorial as I can manage.

GLSL 2D Tutorials in TouchDesigner
github.com/raganmd/glsl2dTuts-in-TouchDesigner

Book of Shaders
https://www.derivative.ca/Forum/viewtopic.php?f=27&t=10652

As code does not come easily to me, I had to take a break from the Book of Shaders and going through these is really helping me getting those basics to stick. Also good to see other solutions to obtain the same results, even though they aren’t the most efficient.

Matthew has done a good job of writing understandable comments to grasp the differences between Shadertoy and TD.

Great Job, these topics do not have much infomation that is easy to follow and you break it down superbly. Thanks for spending the time and posting. :smiley:

Glad to hear they’re helpful!