summaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorWilliam McKinnon <[email protected]>2024-10-25 11:14:37 -0400
committerGitHub <[email protected]>2024-10-25 11:14:37 -0400
commitd998099612f0397234910ce753859ee127ec5b45 (patch)
treee60d699901f14054ea44718b1be8fcaf7dc9f244 /include/render
parentbe5a78ac298f3b23c9955022ad35a18180a5894a (diff)
feat: add shadow_node (#66)
--------- Co-authored-by: Erik Reider <[email protected]>
Diffstat (limited to 'include/render')
-rw-r--r--include/render/fx_renderer/shaders.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/render/fx_renderer/shaders.h b/include/render/fx_renderer/shaders.h
index 6c19744..df91762 100644
--- a/include/render/fx_renderer/shaders.h
+++ b/include/render/fx_renderer/shaders.h
@@ -91,9 +91,11 @@ struct box_shadow_shader {
GLint pos_attrib;
GLint position;
GLint size;
- GLint offset;
GLint blur_sigma;
GLint corner_radius;
+ GLint window_position;
+ GLint window_half_size;
+ GLint window_corner_radius;
};
bool link_box_shadow_program(struct box_shadow_shader *shader);