Debug
Patched shaders
Section titled “Patched shaders”When Iris’ debug mode is enabled, patched shaders are saved to /colorwheel_sources/. The line numbers provided in the error logs correspond to those patched codes.
You may also provide tha Java argument -Dflw.dumpShaderSource=true to your Minecraft instance, instead of enabling Iris debug mode.
Debug mode
Section titled “Debug mode”Colorwheel provides debug modes to vizualise some data using the /colorwheel debug shader <debug mode>. Currently, you may vizualise:
- Vertex normals
- Vertex tangents
- Vertex tangents handeness (red for
-1, blue for1) - Light level
- Overlay
- Old lighting
- Instance ID
- Model ID