mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-07-05 13:15:32 +02:00
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.
This commit is contained in:
parent
a849423096
commit
8b320622f9
5 changed files with 95 additions and 49 deletions
|
@ -97,6 +97,7 @@ namespace godot
|
|||
void initialize_rendering();
|
||||
void update_theme();
|
||||
void update_sizes(bool force = false);
|
||||
void update_shader_parameters(Ref<ShaderMaterial> material);
|
||||
void draw_screen();
|
||||
void refresh();
|
||||
void cleanup_rendering();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue