Skip to content

Rendering Mods and Libraries

grondag edited this page Jun 11, 2019 · 21 revisions

The Fabric tool chain is host to rapidly-advancing rendering capabilities. However, the modular and community-driven nature of Fabric means there are many components! Here is a handy list. More information about each is below.

  • Fabric Rendering API: Defines standard rendering features available to Fabric mods.

  • Indigo: Default implementation of the Fabric Rendering API, ships with overall Fabric API.

  • FREX: Unofficial extensions to the Fabric Rendering API, including shaders.

  • Canvas: Shader-based alternative to Indigo - currently the only renderer that implements FREX.

  • JMX: Extensions to Minecraft JSON Model Loader enabling features of the Rendering API and FREX.

  • Satin: Full-frame, post-render shader loader.

  • Simple Model Loader: (Future) Base model classes and loader supporting all API features.

  • Brocade: (Future) Advanced library for dynamic models with extensive features.

Fabric Rendering API

Most of the capabilities documented on this site are part of or enabled by the Fabric API. If you don't know what Fabric is yet, you should learn about it before you continue.

Render-related APIs in Fabric are split into separate modules:

  • fabric-models-v0: Hooks for loading custom models and model-related resources.
  • fabric-renderer-api-v1: Interfaces for fancy/dynamic terrain and item rendering.
  • fabric-rendering-data-attachment-v1: Thread-safe access to BlockEntity data during terrain rendering.
  • fabric-rendering-fluids-v1: Hooks for custom fluid textures.
  • fabric-rendering-v0: General hooks (entity renderers, block colors, reload event)
  • fabric-textures-v0: Hooks for loading custom textures

Links

FREX

FREX defines extensions to the Fabric API for shaders, conditional materials, multi-layer materials, and other features in active development. FREX is not a Fabric project, but FREX features that become popular may be proposed for inclusion in the Fabric API.

Random Fact: The "F" in FREX does not stand for Fabric. What it does stand for varies based on how well the code is behaving.

Links

Indigo

Canvas

JMX

Satin

Satin Project Site

Simple Model Loader

Brocade

Clone this wiki locally