- Home-
- Minecraft-
- Mods for Minecraft-
- Satin API Mod (1.20.4) - Help modders use shaders.

Satin API Mod (1.20.4) - Help modders use shaders.
About This Mod
Satin API Mod (1.20.4) is a simple library that allows modders to add interesting graphical effects to their mods. Its main function is to greatly simplify the use of Minecraft's data-driven shader system (as in Super Secret Settings, Mob Vision and Spectral Arrow). It is a lightweight library for using OpenGL shaders, and is intended to be used by modders to add interesting graphical effects to their mods.< /p>
Features
Changes from vanilla
A simple installation of Satin changes the game in several ways, mostly related to ShaderEffects
Uniform fixes: using integer vectors as a uniform causes copy-paste to not work and crashes the game in Vanilla; Satin redirects the call to load the correct buffer.
Shader Layout: A fix has been made to the shader processor to accept a resource domain with the program name and fragment/vertex shader file specification.
Readable depth: Satin provided access to depth textures in the framebuffer before it was cool (deprecated in 1.16).
Satin does not install shaders in the GameRenderer unless the mod has registered a PickEntityShaderCallback.
Shader Management
The main function of Satin is the management of shader effects.
ShaderEffect is a Minecraft class that implements data-driven shaders with post-processing, but there are a few caveats. First, these shader effects are initialized immediately at build time, but they should be initialized after the game has finished loading to avoid gl errors. Secondly, they need to be updated every time the game resolution changes. Finally, there is no way to define the shape from external code.
Satin manages shader effects for you and provides you with a ManagedShaderEffect object. This shader effect can be initialized manually at any time, but it is easy to initialize. Initialized shader effects are automatically reloaded when the game resolution changes and when resources are reloaded. There are also several accessor methods for dynamically setting the shape.
Render Layer Utilities
The ManagedFramebuffer and ManagedShaderProgram classes have methods for obtaining a clone of an existing RenderLayer object. This target allows drawing to the ManagedFramebuffer in the first case and to the shader program in the second. This can be used, in particular, to render custom effects on entities and blocks.
Regular blocks do not support custom rendering layers. When using advanced shader materials, you should consider using an alternative renderer such as Canvas.
Shader Utilities
Satin has several utility classes and methods to make working with shaders easier, not just ShaderEffect: ShaderLoader provides the ability to load, create, and link OpenGL shader programs in a single method call, and ShaderLoader provides the ability to load, create, and link OpenGL shader programs in a single method call, GlPrograms provides helper methods for working with these programs, and the matrix package helps obtain matrices and manipulate them.
Similar Mods/Addons
Galath Mod (1.12.2) - spirit coins1.12.2Mods for MinecraftMinecraft
Galath Mod (1.12.2) introduces an intriguing new character to the Nether, bringing an exciting twist...7.9K19
Dinkle's Iron Man comic book hero pack (Fisk Heroes).1.7.10Mods for MinecraftMinecraft
|Team List -Extremis -Breeding Edge -Prime...47415
Five Nights in Freddie's Pack in Zombotani | FNAF Forge1.19.2HardcoreMinecraft
This is the ultimate Five Nights at Freddy's bundle. It contains 13 Fnaf mods, including content fro...55505
Apollon Client (1.21) – MCPE/BedrockallMods for MinecraftMinecraft
The Apollon client (version 1.21) is equipped with a set of useful tools, which include Killaura for...18.4K05
Mod: Warden Equipment and Sonic Staff1.20.40WeaponMinecraft
Warden Armour + Echo Tool and Staff gives you the same abilities as the Guardians in Minecraft PE....13404
Mod: Simple magic wands1.20.40WeaponMinecraft
Simple Wands brings magic wands to Minecraft PE. This plugin can be used for other builds. Each stic...5203
MVS - Moog's Voyager Structures1.20.40BuildingsMinecraft
Sometimes traveling the world can bring unexpected surprises. Especially if you install the MVS mod...1112
Addon Asa's One Piece (1.21, 1.20) – MCPE/Bedrock Mod modallMods for MinecraftMinecraft
Prepare for an exciting adventure in MCPE with the stunning fashion of One Piece Opa Asa! Addon Asa'...3K02
More Skins Addon (1.21) – MCPE/Bedrock ModallMods for MinecraftMinecraft
Addon More Skins (1.21) is an add-on for Minecraft Bedrock Edition that provides the ability to deep...3.7K02
Variant chest mod - from craft to aesthetics1.20.2DecorMinecraft
In the world of Minecraft, where creativity knows no boundaries, Variant Chests Mod fashion has appe...801
True Herobrine Mod (1.20.1) - truly terrifying1.20.1Mods for MinecraftMinecraft
True Herobrine Mod (1.20.1) adds Herobrine in a non-destructive way. The goal of this mod is to make...11001
Better Clouds addon1.21.7Mods for MinecraftMinecraft
Download the Better Clouds add-on for Minecraft to change the standard clouds in the game. Use this...201
Super powers1.20.30MagicMinecraft
Use amazing abilities from the cartoon, such as Racengan and Fireball. You will be able to demonstra...1101
Lag Removal Mod (1.19.1) - optimizes latency in the game1.19.1OptimizationMinecraft
The Lag Removal Mod Mod (1.19.1) gives players the ability to control the number of entities present...2201
Mythic Botany Mod 1.19.2 - Dive deeper into the world of Botany!1.19.2Mods for MinecraftMinecraft
Mythic Botany Mod is an add-on to Botania Mod that tries to extend Botania a bit....501
Randomite Classic addon1.21.3Mods for MinecraftMinecraft
Minecraft's Randomite Classic add-on adds unique ore to the cubic world that can fall from other res...101
Lodestone Mod (1.19.2) - library for Lodestar team projects1.19.2Mods for MinecraftMinecraft
Lodestone Mod (1.19.2) is a library used by all Lodestar team mods and contains important internal c...301
Windchimes Mod - wind chimes that swing in front of the house1.20.1DecorMinecraft
Windchimes Mod (1.20.1, 1.19.4) brings wind sounds to your world. Have you ever waited for peace in...301
Comfort Zone Mod - pillows for cats and Steve1.20.1DecorMinecraft
The Comfort Zone (1.20, 1.19.2) mode introduces a new set of benefits. At the same time, if the play...1801
Mod: Weapons with sockets1.20.40WeaponMinecraft
The Socketed Weapons mod not only adds new weapons to Minecraft, but also improves on the weapons th...2401























