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.
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/GQLGS8Wrubs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>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
Globalsuniform 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" + someValueworks - 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
GameTimecan reduce FPS if logged aggressively
No gallery available for this project.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
1.3.24 |
26.4-snapshot-7
|
fabric
|
Download |
|
1.3.23 |
26.4-snapshot-6
|
fabric
|
Download |
|
1.3.22 |
26.4-snapshot-5
|
fabric
|
Download |
|
1.3.21 |
26.4-snapshot-4
|
fabric
|
Download |
|
1.3.20 |
26.4-snapshot-3
|
fabric
|
Download |
|
1.3.19 |
26.4-snapshot-2
|
fabric
|
Download |
|
1.3.18 |
26.4-snapshot-1
|
fabric
|
Download |
|
1.3.17 |
26.3
|
fabric
|
Download |
|
1.3.16 |
26.3-rc-2
|
fabric
|
Download |
|
1.3.14 |
26.3-snapshot-10
|
fabric
|
Download |
|
1.3.13 |
26.3-snapshot-10
|
fabric
|
Download |
|
1.3.12 |
26.3-snapshot-9
|
fabric
|
Download |
|
1.3.10 |
26.3-snapshot-3
|
fabric
|
Download |
|
1.3.9 |
26.3-snapshot-3
|
fabric
|
Download |
|
1.3.8 |
26.3-snapshot-2
|
fabric
|
Download |
|
1.3.7 |
26.3-snapshot-2
|
fabric
|
Download |
|
1.3.6 |
26.2
|
fabric
|
Download |
|
1.3.5 |
26.2-rc-2
|
fabric
|
Download |
|
1.3.4 |
26.2-pre-6
|
fabric
|
Download |
|
1.3.3 |
26.2-pre-3
|
fabric
|
Download |
|
1.3.2 |
26.2-pre-1
|
fabric
|
Download |
|
1.3.1 |
26.2-snapshot-8
|
fabric
|
Download |
|
Shader DevTools 1.3.0 1.3.0 |
26.2-snapshot-7
|
fabric
|
Download |
|
Shader DevTools 1.2.0 1.2.0 |
26.2-snapshot-7
|
fabric
|
Download |
|
Shader DevTools 1.1.3 1.1.3 |
26.2-snapshot-7
|
fabric
|
Download |
|
Shader DevTools 1.1.2 1.1.2 |
26.2-snapshot-7
|
fabric
|
Download |
|
Shader DevTools 1.1.1 1.1.1 |
26.2-snapshot-6
|
fabric
|
Download |
|
Shader DevTools 1.1.0 1.1.0 |
26.2-snapshot-1
|
fabric
|
Download |
|
Shader DevTools 1.0.0 1.0.0 |
26.2-snapshot-1
|
fabric
|
Download |