patriciogonzalezvivo/lygia

LYGIA, it's a granular and multi-language (GLSL, HLSL, Metal, WGSL, WEGL and CUDA) shader library designed for performance and flexibility

GLSL

3,458

1,797 commits

updated Sep 14, 2026

See the code

README

LYGIA

LYGIA Shader Library

LYGIA is the biggest shader library. Battle proof, cross-platform and multi-language. Is made of reusable functions that will let you prototype, port and ship projects in just few minutes. It's very granular, flexible and efficient, supports multiple shading languages and can easily be added to virtually any project. There are already integrations for almost all major environments, engines and frameworks.

cuda
directx
glsl
hlsl
library
metal
opengl
shader
vulkan
webgl
webgpu
wesl
wgsl

patriciogonzalezvivo/lygia

LYGIA, it's a granular and multi-language (GLSL, HLSL, Metal, WGSL, WEGL and CUDA) shader library designed for performance and flexibility

GLSL

3,458

1,797 commits

updated Sep 14, 2026

See the code

README

LYGIA

LYGIA Shader Library

LYGIA is the biggest shader library. Battle proof, cross-platform and multi-language. Is made of reusable functions that will let you prototype, port and ship projects in just few minutes. It's very granular, flexible and efficient, supports multiple shading languages and can easily be added to virtually any project. There are already integrations for almost all major environments, engines and frameworks.

cuda
directx
glsl
hlsl
library
metal
opengl
shader
vulkan
webgl
webgpu
wesl
wgsl

Project health

Overall

3.8/10

Maintained

10/10

Code review

0/10
OpenSSF Scorecard

Latest release

1.4.1 · Feb 7, 2026

Releases this year

2

Significant stargazers

(top 24 of 51)

Aarni Koskela

535 followers · starred Jul 2024

John Nunley

331 followers · starred Apr 2023

Lukas Wirth

678 followers · starred Aug 2023

Jeremy Tuloup

995 followers · starred Oct 2022