Luminance

About the Modification
Luminance is a library mod whose primary purpose is to assist other modifications in working with shaders.
Regular players should install this mod only if required by another modification.
Main Features
Dynamic Shader Uniforms
This feature allows post-processing shaders to receive additional information about what's happening in the game. Luminance already includes a set of standard uniforms, but you can also add your own!
Support for Shaders from Previous Minecraft Versions
Requires installation of Perspective or Souper-secret-settings.
Luminance handles all the complexity of shader rendering, freeing you from the need to do it yourself.
Iris Shaders Status Detection
Using Luminance, you can check whether Iris Shaders are currently activated. This is particularly convenient for developers as it doesn't require adding Iris to the development environment.
Customizable Icons in ModMenu
Luminance allows you to change your mod's icon in the modifications menu. You can configure automatic icon changes based on the time of year, through configuration settings, or any other criteria - the possibilities are virtually limitless!
System Requirements
Dependencies
- Fabric API or Quilted Fabric API (QFAPI)
fabric-resource-loader-v0fabric-key-binding-api-v1fabric-lifecycle-events-v1
Technical Requirements
- Java 21 or later version
- Build performed using Microsoft build of OpenJDK 21.0.2
Integrating Luminance into Your Mod
- Add the following lines to the repositories section of your build.gradle:
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
- Add to the dependencies section of build.gradle:
include(modImplementation "maven.modrinth:luminance:${project.luminance}")
- Add the following line to the gradle.properties file:
luminance = 1.0.0-release.1+1.21.4-fabric
#luminance = 1.0.0-release.1+1.21.4-quilt
Note: replace 1.0.0-rc.1+1.21.4-fabric with the current version of Luminance, which can be found on the versions page.
- Reload Gradle - now you're ready to use Luminance!
Related Projects
- Project page on GitHub
- Perspective by dannytaylor
- Souper Secret Settings by Nettakrim
- Luminance Mod Collection
Licensing
Distributed under LGPL-3.0-or-later license.
This mod is not affiliated with Mojang Studios or Microsoft and does not have their official support. Some game resources are property of Mojang Studios and fall under the terms of Minecraft EULA.