A repo of examples while studying the excellent shader library lygia by @patriciogonzalezvivo.
I wanted to understand how and what all the functions from lygia do.
The easiest way to run the examples is to run the command lines on each Readme on each folder and check the examples live. For now all will leave under this Readme since there are not many examples.
Barrel
glslViewer distort/barrel.frag
Aastep
glslViewer draw/aastep.frag
Worley
glslViewer generative/worley/worleyNoise.frag generative/worley/riverbed.png
Fresnel
glslViewer lighting/fresnelExample.frag
Sample
glslViewer sample/bumpMap.frag sample/bumpMap.jpg
Flow
glslViewer sample/flow.frag sample/flow.jpg
CubeSDF
glslViewer sdf/CubeSDF.frag
Scott
glslViewer simulate/SimulateScott.frag