Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
13 lines
368 B
Plaintext
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);
|
|
}
|