← Назад к ресурсам

lygia

LYGIA is a shader library of reusable functions that can be included easily into your projects. LYGIA is very granular and designed for reusability, performance, and flexibility.

Modrinth library

Описание

LYGIA is a shader library of reusable functions that can be included easily into your projects. LYGIA is very granular and designed for reusability, performance, and flexibility. For more information please go to [lygia.xyz](http://lygia.xyz "LYGIA") ### How is it organized? * [`math/`](https://lygia.xyz/math): general math functions and constants: `PI`, `SqrtLength()`, etc. * [`space/`](https://lygia.xyz/space): general spatial operations: `scale()`, `rotate()`, etc. * [`color/`](https://lygia.xyz/color): general color operations: `luma()`, `saturation()`, blend modes, palettes, color space conversion, and tonemaps. * [`animation/`](https://lygia.xyz/animation): animation operations: easing * [`generative/`](https://lygia.xyz/generative): generative functions: `random()`, `noise()`, etc. * [`sdf/`](https://lygia.xyz/sdf): signed distance field functions. * [`draw/`](https://lygia.xyz/draw): drawing functions like `digits()`, `stroke()`, `fill`, etc/. * [`sample/`](https://lygia.xyz/sample): sample operations * [`filter/`](https://lygia.xyz/filter): typical filter operations: different kind of blurs, mean and median filters. * [`distort/`](https://lygia.xyz/distort): distort sampling operations * [`simulate/`](https://lygia.xyz/simulate): simulate sampling operations * [`lighting/`](https://lygia.xyz/lighting): different lighting models and functions for foward/deferred/raymarching rendering * [`geometry/`](https://lygia.xyz/geometry): operation related to geometries: intersections and AABB accelerating structures. * [`morphological/`](https://lygia.xyz/morphological): morphological filters: dilation, erosion, alpha and poisson fill. ## License LYGIA is dual-licensed under the [Prosperity License](https://prosperitylicense.com/versions/3.0.0) and the [Patron License](https://lygia.xyz/license) for [sponsors](https://github.com/sponsors/patriciogonzalezvivo) and [contributors](https://github.com/patriciogonzalezvivo/lygia/graphs/contributors). [Sponsors](https://github.com/sponsors/patriciogonzalezvivo) and [contributors](https://github.com/patriciogonzalezvivo/lygia/graphs/contributors) are automatically added to the [Patron License](https://lygia.xyz/license) and they can ignore any non-commercial rule of the [Prosperity License](https://prosperitylicense.com/versions/3.0.0) software (please take a look at the exceptions). It's also possible to get a permanent commercial license hooked to a single and specific version of LYGIA.