
LYGIA - Shader Library for Minecraft
LYGIA is an extensive collection of ready-to-use shader functions that can be easily integrated into your projects. This library features a modular structure and is designed with emphasis on reusability, high performance, and configuration flexibility.
Library Organization
The library is divided into logical categories, each containing specialized functions:
- math/: Mathematical operations and constants, including PI, SqrtLength() and others
- space/: Spatial transformations: scaling, rotation and similar operations
- color/: Color manipulation: brightness calculation, saturation, blending modes, palettes, color space conversion and tone correction
- animation/: Animation functions and smooth transitions
- generative/: Generative algorithms: random numbers, noise functions
- sdf/: Signed distance field functions
- draw/: Drawing tools: digit display, stroke, fill
- sample/: Sampling operations
- filter/: Image filters: various types of blur, averaging and median filters
- distort/: Sample distortion
- simulate/: Simulation operations
- lighting/: Lighting models for various rendering methods
- geometry/: Geometric operations: intersections and AABB acceleration structures
- morphological/: Morphological filters: dilation, erosion, alpha and Poisson fill
Licensing
LYGIA is distributed under dual license: Prosperity License and Patron License for sponsors and contributors. Obtaining a permanent commercial license for specific library versions is also available.