summaryrefslogtreecommitdiff
path: root/include/render/fx_renderer/shaders.h
diff options
context:
space:
mode:
authorWilliam McKinnon <[email protected]>2024-09-18 06:38:01 -0400
committerGitHub <[email protected]>2024-09-18 12:38:01 +0200
commit9b30e2d5e97c455d5a8c0e6b5e37ce50a4e3db81 (patch)
treef88ad21157e183084999c408a82a9c3a6e280539 /include/render/fx_renderer/shaders.h
parentb05b1732f4e8423145cb2f9e84a6d43e28c26557 (diff)
feat: removed stencil from shadow rendering (#61)
* removed stencil from shadow rendering * removed the rest of the stencil mask * fix * Don't render inner region of shadow --------- Co-authored-by: Erik Reider <[email protected]>
Diffstat (limited to 'include/render/fx_renderer/shaders.h')
-rw-r--r--include/render/fx_renderer/shaders.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/render/fx_renderer/shaders.h b/include/render/fx_renderer/shaders.h
index 94aa029..946f02c 100644
--- a/include/render/fx_renderer/shaders.h
+++ b/include/render/fx_renderer/shaders.h
@@ -56,7 +56,7 @@ struct tex_shader {
GLint tex;
GLint alpha;
GLint pos_attrib;
- GLint size;
+ GLint half_size;
GLint position;
GLint radius;
GLint has_titlebar;
@@ -84,17 +84,6 @@ struct rounded_border_corner_shader {
bool link_rounded_border_corner_program(struct rounded_border_corner_shader *shader);
-struct stencil_mask_shader {
- GLuint program;
- GLint proj;
- GLint pos_attrib;
- GLint half_size;
- GLint position;
- GLint radius;
-};
-
-bool link_stencil_mask_program(struct stencil_mask_shader *shader);
-
struct box_shadow_shader {
GLuint program;
GLint proj;