All Mods Resource Packs Data Packs Shaders Modpacks Plugins
S

Shader DevTools

by seailz • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Shader DevTools

Client-side fabric mod for working on Minecraft core shaders, post shaders, post effects, and render pipelines without restarting the game or reloading the resource pack.

https://github.com/seailz/shader-devtools

Features

  • Reload shaders, both core and post, on demand without having to fully reload the resource pack
  • Live editing of shader files in-game with syntax highlighting
  • When a shader exists in multiple packs (including vanilla), ability to edit each of those individually (except vanilla shaders, which are read-only) and force load them
  • Ability to quickly visualize what a shader is rendering
  • Parsing of post effect JSON files, and the ability to edit these too
  • Parsing and visualization of all render pipelines
  • Ability to override any value in the Globals uniform buffer

Shader Debug Logging

You can add calls like dbg("time=" + GameTime); to supported shader programs and the value will be written to logs/latest.log.

Notes:

  • Works on both OpenGL and Vulkan
  • ASCII string literals are supported
  • Top-level string concatenation is supported, so "abc" + someValue works
  • Common scalar and vector values are converted to text automatically

Warning:

  • dbg(...) is still expensive in hot shaders, especially fragment shaders
  • Frequently changing values such as GameTime can reduce FPS if logged aggressively

How to Install Shader DevTools (Mod)

Shader DevTools by seailz is verified for Fabric across Minecraft versions 26.2, 26.2-pre-1, 26.2-pre-3, 26.2-pre-6, 26.2-rc-2, 26.2-snapshot-1, 26.2-snapshot-6, 26.2-snapshot-7 (latest release: 1.3.25, file size: 336 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (26.2, 26.2-pre-1, 26.2-pre-3, 26.2-pre-6, 26.2-rc-2, 26.2-snapshot-1, 26.2-snapshot-6, 26.2-snapshot-7) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Shader DevTools file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.4-snapshot-8
Fabric
8d ago 1
26.4-snapshot-7
Fabric
15d ago 1
26.4-snapshot-6
Fabric
22d ago 1
26.4-snapshot-5
Fabric
29d ago 1
26.4-snapshot-4
Fabric
1mo ago 1
26.4-snapshot-3
Fabric
1mo ago 1
26.4-snapshot-2
Fabric
2mo ago 1
26.4-snapshot-1
Fabric
2mo ago 1
26.3
Fabric
2mo ago 1
26.3-rc-2
Fabric
2mo ago 1
26.3-snapshot-10
Fabric
3mo ago 1
26.3-snapshot-10
Fabric
3mo ago 1
26.3-snapshot-9
Fabric
3mo ago 1
26.3-snapshot-3
Fabric
5mo ago 1
26.3-snapshot-3
Fabric
5mo ago 1
26.3-snapshot-2
Fabric
5mo ago 1
26.3-snapshot-2
Fabric
5mo ago 1
26.2
Fabric
5mo ago 1
26.2-rc-2
Fabric
5mo ago 1
26.2-pre-6
Fabric
6mo ago 1
26.2-pre-3
Fabric
6mo ago 1
26.2-pre-1
Fabric
6mo ago 1
26.2-snapshot-8
Fabric
6mo ago 1
26.2-snapshot-7
Fabric
6mo ago 1
26.2-snapshot-7
Fabric
6mo ago 1
26.2-snapshot-7
Fabric
7mo ago 1
26.2-snapshot-7
Fabric
7mo ago 1
26.2-snapshot-6
Fabric
7mo ago 1
26.2-snapshot-1
Fabric
8mo ago 1
26.2-snapshot-1
Fabric
8mo ago 1
Added screen to inspect uniforms and their values
Added a screen to view and inspect active samplers
fixed crashes on ssnapshot 7
Added MCP server and bumped to 26.2-snapshot-7

Bumped to 26.2-snapshot-6
  • Errors when loading a shader now log to the chat
  • You can now add a dbg("abc") line to your shader to have it print to the Minecraft log (this is not supported by vanilla so you'll need to remove it before distributing your shaders)
Download Shader DevTools
Select game version
Select platform