Maybe also adding smoothstep and clamp as traditional shader building blocks functions.
You can still define them in inline with not too many characters though so maybe it's ok.
https://garten.salat.dev/fake-shaders3.html#Zy5kaW09NjQ7bGV0...
You can still define them in inline with not too many characters though so maybe it's ok.
https://garten.salat.dev/fake-shaders3.html#Zy5kaW09NjQ7bGV0...
change the line
to To bring in all of Math into context without having to list them all individually.