HomeJavaModsCanvasGLSL
CanvasGLSL
ModsJava

CanvasGLSL

by tinywifi · on Modrinth

Replace every menu background with custom GLSL shaders. with a live, in-game shader editor with syntax highlighting, auto-compile, Shadertoy support, and…

⬇ Download on Modrinth
CanvasGLSL — screenshot 1

CanvasGLSL

Replace Minecraft's menu backgrounds with custom GLSL shaders. Includes a built-in shader editor with syntax highlighting.

Features

Installation

  1. Install Fabric loader for Minecraft 1.21.10
  2. Download the latest release JAR
  3. Put it in your .minecraft/mods folder
  4. Launch the game

Usage

Opening the Editor

Press Insert while in any menu to open the shader IDE. Press Insert or Esc to close it.

Writing Shaders

Shaders are saved in .minecraft/canvasglsl/. You can create folders to organize them.

Supported uniforms:

Example shader:

void mainImage(out vec4 fragColor, in vec2 fragCoord) {
    vec2 uv = fragCoord / iResolution.xy;
    vec3 col = 0.5 + 0.5 * cos(iTime + uv.xyx + vec3(0, 2, 4));
    fragColor = vec4(col, 1.0);
}

Using Shadertoy Shaders

  1. Copy shader code from Shadertoy
  2. Paste into the editor
  3. Click "Compile" or enable auto-compile
  4. Done! The shader will render as your menu background

Controls

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.

Verified by MCModsHub

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

Explore more