patriciogonzalezvivo/lygia

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 28 minutes ago
Added to GitGenius on September 20th, 2026
Created on April 6th, 2021
Open Issues & Pull Requests: 21 (+0)
GitHub issues: Enabled
Number of forks: 223
Total Stargazers: 3,440 (+0)
Total Subscribers: 36 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 18
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 524 days
Stale 30+ days: 17
Stale 90+ days: 13

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Detailed Description

LYGIA is a shader library that provides reusable functions across multiple shading languages including GLSL, HLSL, Metal, WGSL, WEGL, and CUDA.

The library addresses the challenge of writing and maintaining shader code across different graphics APIs and platforms. Rather than rewriting shaders for each target environment, LYGIA offers a granular collection of functions designed for performance and flexibility that can be composed together. Its multi-language support means the same logical shader operations can be deployed to OpenGL, DirectX, Vulkan, WebGL, WebGPU, and CUDA without rewriting from scratch.

Developers should choose LYGIA if they need to ship shader code across multiple platforms or graphics APIs without duplicating effort. It suits projects ranging from prototyping to production that target diverse rendering environments. The library's granular design means you can import only the specific functions you need rather than carrying unnecessary overhead. Its existing integrations with major engines and frameworks reduce the friction of adoption into established workflows.

The project maintains a comprehensive, well-organized codebase with consistent patterns across its multi-language implementations. Development activity shows sustained attention to the library's core mission of cross-platform shader portability, with ongoing refinement of existing functions and expansion of language support. The project demonstrates commitment to practical usability through its extensive integration ecosystem and documentation focused on real-world deployment scenarios.