> For the complete documentation index, see [llms.txt](https://docs.creoii.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.creoii.dev/creo-api/packages/shader-interaction-api.md).

# Shader Interaction API

## Setup

{% tabs %}
{% tab title="Gradle" %}

```gradle
repositories {
    mavenCentral()
}

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

{% endtab %}

{% tab title="Kotlin" %}

```gradle
repositories {
    mavenCentral()
}

dependencies {
    modImplementation("dev.creoii.creoapi:creo-shader-interaction-api:<VERSION>")
}
```

{% endtab %}
{% endtabs %}

## Shader Interactions

```java
// 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.
