ModsFinder

LYGIA is a Library mod for Minecraft 1.20.1 that bundles a shader function library, so shader developers can reuse its math, color and drawing code.

FabricForgeClient-side onlyCustom license1.20.1

What it does

The mod packages LYGIA, a shader library of reusable functions for graphics work, and makes it available to projects that run on Fabric or Forge. Its functions cover general math, including constants such as PI and length helpers, along with spatial operations like scale and rotate, and color work including brightness, saturation, layer blending, palette generation, conversion between color spaces and tone mapping.

Further groups include animation operations, generative functions such as random and noise, signed distance field functions, drawing helpers for digits, strokes and fills, and sample operations. Installation is needed only on the client, since the library runs on the player side. Files are published for 1.20.1 on both Fabric and Forge, with 1.0.0 as the latest build for each loader, dated 2023-08-14.

The project's documentation at lygia.xyz describes the function set in more detail. The library is released under a custom license and is not open source, and a permanent commercial license tied to one specific version of LYGIA is available from the author.

Key features

  1. Color operations

    Functions for brightness, saturation, layer blending, palette generation, color space conversion and tone mapping.

  2. Math and spatial helpers

    General math constants and length functions, plus scale and rotate operations for spatial work.

  3. Signed distance fields

    A set of signed distance field functions for shapes and drawing in shader code.

  4. Generative functions

    Random and noise functions for procedural effects, along with animation operations.

  5. Drawing helpers

    Functions for drawing digits, strokes and fills, plus sample operations for reading values.

Compatibility

Latest build for each game version and loader.

1.20.11.0.01.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Reusing shader code

Shader authors can call the bundled functions in their own projects instead of writing common routines from scratch.

Procedural effects

Noise, random and signed distance field functions give a base for generated patterns in shader work.

Who it’s for: Shader developers and modpack authors who build projects on Fabric or Forge for Minecraft 1.20.1 and want a shared set of reusable shader functions.

Questions

Does LYGIA have to be installed on the server?

No. It is installed on the player's side alone, so servers need nothing.

Which loaders does LYGIA support?

Files are published for Fabric and Forge, both for Minecraft 1.20.1 only.

Under what license is LYGIA released?

It is released under a custom license that is not open source, and the author offers a permanent commercial license tied to one version.

In the catalog

lygia is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 34,764 mods support Minecraft 1.20.1.

Similar mods

What the author says

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. It's also possible to get a permanent commercial license hooked to a single and specific version of LYGIA.
patriciogonzalezvivo, on the Modrinth page

Official listing

Owner
patriciogonzalezvivo
Published
2023-08-05
Updated on Modrinth
2023-08-14
Facts verified
2026-10-15

Tags