Satin API

A Fabric library to help modders with shader usage
Back to Files

Satin-1.4.0.jar

File namesatin-1.4.0.jar
Uploaded
Jul 25, 2020
Downloads
823
Size
97.7 KB
Mod Loaders
Fabric
File ID
3013994
Type
R
Release
Supported game versions
  • 1.16-Snapshot
  • 1.16.1
  • 1.16

Curse Maven Snippet

Fabric

modImplementation "curse.maven:satin-api-385463:3013994"

Learn more about Curse Maven

What's new

Version 1.4.0:

Update to 1.16 (thanks to Draylar and DaveyL2013 for snapshot updates)

Additions - Added RenderLayerHelper, a class with new methods for simplifying the creation of RenderLayers based on existing ones - Added ManagedShaderProgram, a new alternative to ManagedShaderEffect that encapsulates a single shader program that can be enabled or disabled. - Added ManagedFramebuffer, for cleaner code when using a ManagedShaderEffect's target framebuffers - Added PostWorldRenderCallbackV2, now passing the MatrixStack for actual drawing

Changes - Shaders are no longer garbage collected when you remove all references to them without calling ShaderManager#dispose. Clean the place before you leave! - The UniformFinder interface and associated handles have been promoted to maintained API and moved to the appropriate package. The previous experimental classes have been marked deprecated.

Fixes - Fixed a vanilla bug causing corrupted overlays after rendering a shader in ShaderEffectRenderCallback, also spectator shaders

see full changelog here

Type
Name
Game Versions
Mod Loaders
Size
Downloads
Uploaded