Home›Java›Mods›Schooled Uniforms
ModsJava

Schooled Uniforms

Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by AmyMialee · on Modrinth

⬇ Download on Modrinth
 

Schooled Uniforms

      Patreon Link         Website Link         Discord Link  
 

Expanding Vanilla's Post Shaders

Expands on Vanilla's Post Shader system by allowing you more ways to pass data to your shaders.


Scoreboard Uniforms:

These give you access to scoreboard values as uniforms.
In order for the values to be synced to players you need to run the command:
/scoreboard objectives uniform <Objective> true


Automatic Uniforms:

These will simply give you access to some values from vanilla rendering.


Modded Uniforms:

If used as a dependency this also allows you to write custom uniform values to any normal uniform.
To use this, you need to call HookedUniformManager.registerUniform(<name>, <biconsumer>)
The name is "<namespace>:<post_shader>/<pass_index>/<uniform_name>/<data_index>"
For example: "modname:myshader/0/PostShaderInfo/0"
And the biconsumer will give you a LevelExtractionContext and a Std140Builder, and all you need to do is write the data to the builder. Be sure that you write the same amount of data as the uniform's data type.
This works for any of the following:


​
Bloom Hosting Banner
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more