Utility Nexus Admin (0.0.0-beta.4)
Curse Maven Snippet
What's new
v0.0.0-beta.4 - Shader System
Added
- Shader System — Built-in shader loader compatible with Sodium 0.8.13+ on NeoForge 1.21.1
ShaderPackManager— Loads.zip/.jarshaderpacks from theshaderpacks/folderShaderPipeline— Compiles GLSL shaders (vertex, fragment, geometry) via LWJGL/OpenGLShaderSystem— Reload listener registration and active-pack persistenceShaderConfig— Configuration stored inutility_nexus_admin.toml(active pack name, auto-scan)- Iris-style external config support — reads
<shaderpack>.zip.txtalongside the shaderpack (JSON and key=value properties formats) - Shaderpack metadata support via
pack.mcmeta(description, version) - New mod icon
Shaderpack Structure
shaderpack.zip/
├── pack.mcmeta # Optional: description, version
└── shaders/
├── main.vert # Vertex shader
├── main.frag # Fragment shader
└── ... # Additional programs (terrain, entities, etc.)
Built-in Shader Uniforms
uniform mat4 ProjectionMatrix;
uniform mat4 ViewMatrix;
uniform vec3 CameraPos;
uniform vec3 SunPos;
uniform float Time; // 0-1 day cycle
uniform vec4 FogColor;
uniform float FogStart;
uniform float FogEnd;
uniform int RenderStage; // 0=sky, 1=terrain, 2=translucent, 3=entities...
Technical Changes
ShaderPackManager— ZIP/JAR scanning, metadata parsing, external.zip.txtconfig loadingShaderPipeline— OpenGL shader compilation, program linking, uniform cachingShaderSystem— Client-side initialization, resource reload listener registrationShaderConfig— TOML-backed active-pack persistence
Note: Compatible with Sodium 0.8.13+ without the class conflicts that Iris triggers. Does not require Iris/Oculus.
This mod has no additional files

