patriciogonzalezvivo
lygia
A huge shader function library for GLSL, HLSL, WGSL and more.
Downloads come straight from GitHub, so you always get the current main branch; the latest release was published on February 7, 2026. Nothing is hosted or changed by us.
In the maintainers' words
LYGIA, it's a granular and multi-language (GLSL, HLSL, Metal, WGSL, WEGL and CUDA) shader library designed for performance and flexibility
How to use it
Worked out from what is actually in the repository: its folders, its releases and its package registry entry.
1Install from npm
Published on npm from this repository.
npm install lygia2Build it with CMake
A standard out-of-source build. Some projects need extra options or dependencies first, which their README lists.
git clone --recursive https://github.com/patriciogonzalezvivo/lygia.git cd lygia cmake -B build cmake --build build
What the licence allows
OtherCommercial use unclear
This repository uses Other, which is not one of the common licences summarised here. Read the licence file before you ship anything built on it.
A summary to help you decide, not legal advice. Read the licence in the repository before you ship.
From the README
Images belong to the project and load from GitHub. Read the full README
Topics
Reviews
Stars and reviews from our members, separate from GitHub stars. A suspicious burst of votes from one place is kept but not counted.
No reviews yet. Used it in a game? Tell others how it went.
More shaders and effects for the web
All Web repositories
17KWebGL-Fluid-Simulation
WebShaders and effects
Play with fluids in your browser (works even on mobile)
5.4KglslViewer
WebShaders and effects3.5.2
Console-based GLSL Sandbox for 2D/3D shaders
2.6KglslEditor
WebShaders and effects0.0.20





