LYGIA import

Credit: LYGIA by Patricio Gonzalez Vivo and contributors

This example keeps the ShaderPad side deliberately small: one fullscreen canvas, one ShaderPad instance, and one imported fragment shader. The interesting bit is the shader file itself, which uses #include directives to pull in LYGIA's ratio and worley helpers before ShaderPad compiles the final GLSL.

View source