Files
FWS-Kitty/kitty/shaders/custom/negative.slang
T
BlackAngelTV 3d174c45a4 chore: import official kitty sources from upstream
Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
2026-11-04 11:35:59 +01:00

13 lines
368 B
Plaintext

#language slang 2026
// Copyright (C) 2026 Kovid Goyal <kovid at kovidgoyal.net>
// Distributed under terms of the GPLv3 license.
//
// Color-inversion (negative) effect.
import kitty_custom_shader_types;
public float4
fragment_main(float4 color, KittyTextures t, KittyCustomShaderData d) {
return float4(1.0 - color.r, 1.0 - color.g, 1.0 - color.b, color.a);
}