config: note custom-shader requires opengl 4.2 on linux

This commit is contained in:
Mitchell Hashimoto
2023-11-17 17:02:37 -08:00
parent fbc13d08b0
commit db244da101

View File

@ -606,6 +606,9 @@ keybind: Keybinds = .{},
/// causing the window to be completely black. If this happens, you can
/// unset this configuration to disable the shader.
///
/// On Linux, this requires OpenGL 4.2. Ghostty typically only requires
/// OpenGL 3.3, but custom shaders push that requirement up to 4.2.
///
/// The shader API is identical to the ShaderToy API: you specify a `mainImage`
/// function and the available uniforms match ShaderToy. The iChannel0 uniform
/// is a texture containing the rendered terminal screen.