Shader Interaction API

Interaction with vanilla shaders.

Setup

repositories {
    mavenCentral()
}

dependencies {
    modImplementation 'dev.creoii.creoapi:creo-shader-interaction-api:<VERSION>'
}

Shader Interactions

// Get the Identifier of the current post processor.
public static Identifier getCurrentPostProcessor();

// Set the current post processor.
public static void setCurrentPostProcessor(Identifier id);

// Clear all post processors from the screen.
public static void clearPostProcessors();

This API also includes Shaders.java which stores Identifier references to all built-in post-processors provided by the vanilla game.

Last updated