summaryrefslogtreecommitdiff
path: root/include/render/fx_renderer/shaders.h
diff options
context:
space:
mode:
authorErik Reider <[email protected]>2024-01-02 01:19:48 +0100
committerErik Reider <[email protected]>2024-01-04 02:11:25 +0100
commitc15af4a182314d8384fc6b28e7c3fc58c0352b83 (patch)
tree841c17acede5ead7b8c08c9668d0b148ad5c26e4 /include/render/fx_renderer/shaders.h
parent1a6918f948be034e65c50af8969d090b5e762dc1 (diff)
Added back shadow effect
Diffstat (limited to 'include/render/fx_renderer/shaders.h')
-rw-r--r--include/render/fx_renderer/shaders.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/render/fx_renderer/shaders.h b/include/render/fx_renderer/shaders.h
index 584b18e..92a14d5 100644
--- a/include/render/fx_renderer/shaders.h
+++ b/include/render/fx_renderer/shaders.h
@@ -42,24 +42,20 @@ struct tex_shader {
struct stencil_mask_shader {
GLuint program;
GLint proj;
- GLint tex_proj;
- GLint tex;
+ GLint color;
GLint pos_attrib;
GLint half_size;
GLint position;
- GLint color;
GLint radius;
};
struct box_shadow_shader {
GLuint program;
GLint proj;
- GLint tex_proj;
- GLint tex;
+ GLint color;
GLint pos_attrib;
GLint position;
GLint size;
- GLint color;
GLint blur_sigma;
GLint corner_radius;
};