Troubleshooting¶
Preview Is Blank¶
- For a Built-in shader, confirm the signature:
void mainImage(out vec4 fragColor, in vec2 fragCoord)for GLSL,float4 mainImage(float2 fragCoord)for Slang, orfn mainImage(coord: vec2f) -> vec4ffor WGSL. For a Native Slang or WGSL shader, select the intended fragment function in Config → Fragment shader;mainImageis not required. - Check the error tooltip near the play/pause button — a red indicator means compilation failed
- Try closing and reopening the preview panel
- Try Refresh from the options menu
- Make sure the file extension is
.glsl,.slang,.wgsl,.frag, or.vert
Crashing or Halting¶
If the shader freezes or crashes:
- Disable debug mode — debugging adds overhead that can slow down or freeze expensive shaders
- Turn off the variable inspector — grid captures in particular are GPU-intensive
- Reduce the resolution — try 0.5x or lower to reduce GPU load
- Switch to Manual compile mode — this stops the shader from recompiling on every keystroke
No Layout Showing¶
If panels have disappeared or the layout is broken:
- Use Menu → Layout → Reset to Default in the preview toolbar
- Use Menu → Layout → Restore Saved Layout if you want to reload the active profile's saved arrangement instead
- Or run Shader Studio: Reset Layout from the command palette