godot-xterm/addons/godot_xterm/shaders/foreground.gdshader
Leroy Hopson a849423096
Rewrite terminal.cpp
Rewrites the Terminal class as a GDExtension to be used directly in
Godot without a terminal.gd proxy.

Breaks a lot of things in its current state (e.g. signals and other
functions have not be implemented yet), but does add support for
transparent colors and true color inversion. It also seems to
be about 4x faster (FPS-wise) than the old version with some basic
stress testing.

Old source code has been moved to a different directory to be copied
over and/or rewritten piece by piece.
2024-02-07 00:14:33 +13:00

7 lines
160 B
Text

shader_type canvas_item;
void fragment() {
COLOR = texture(TEXTURE, UV);
// TODO: Check blink attribute and hide/show using the below.
//COLOR = vec4(0);
}