godot-xterm/addons/godot_xterm/shaders/background.gdshader
Leroy Hopson 8b320622f9
Use shader include for fore/background shaders
The two shaders use a lot of common logic for co-ordinate and attribute
look up, so it makes sense to use a common include shader for both.

Adds support for the inverse and blink attributes to the foreground shader.
2024-02-07 21:59:01 +13:00

5 lines
No EOL
179 B
Text

// SPDX-FileCopyrightText: 2024 Leroy Hopson <godot-xterm@leroy.nix.nz>
// SPDX-License-Identifier: MIT
shader_type canvas_item;
#define BACKGROUND
#include "./common.gdshaderinc"