mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-24 10:20:24 +01:00
8b320622f9
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.
5 lines
No EOL
179 B
Text
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 FOREGROUND
|
|
#include "./common.gdshaderinc" |