Skip to content

ShaderModule

Kapitencraft edited this page Sep 25, 2026 · 1 revision

the shader module adds small features to reduce effort in the creation in certain shader related fields

Block Render Types

allows to register custom render types as named render types, making them available for use in block or item models.
the rendertype must be registered to the RegisterChunkBufferLayersEvent as well as the (neoforge) RegisterNamedRenderTypesEvent to enable rendering in the world.
note that due to the implementation of iris, most - if not all - of these render types will be incompatible with iris shaders.

Uniforms

allows for the addition of custom uniforms which store values obtainable inside of shader programs. register custom uniforms to the RegisterUniformsEvent

Clone this wiki locally