summaryrefslogtreecommitdiff
path: root/include/shadow.h
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-25 19:47:30 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-25 19:47:30 -0700
commita53d076f94c4b38ac511d6d3a5d4fc21e026b183 (patch)
tree48e44b71aaa71399b969be025064c2cc076e1d3a /include/shadow.h
parent251b611fef77533082165bab0b88eefa05b49fbe (diff)
Add PCSS shadowsHEADmaster
Diffstat (limited to 'include/shadow.h')
-rw-r--r--include/shadow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/shadow.h b/include/shadow.h
index 0087ef4..b054418 100644
--- a/include/shadow.h
+++ b/include/shadow.h
@@ -27,11 +27,14 @@
extern SDL_GPUTexture *ta_shadow_texture;
extern SDL_GPUSampler *ta_shadow_sampler;
+extern SDL_GPUSampler *ta_shadow_depth_sampler;
extern float ta_shadow_light_direction[TA_SHADOW_DIMENSION];
extern float ta_shadow_normal_offset;
extern float ta_shadow_minimum_bias;
extern float ta_shadow_maximum_bias;
extern float ta_shadow_strength;
+extern float ta_shadow_light_size;
+extern float ta_shadow_penumbra_scale;
void ta_shadow_init(void);
void ta_shadow_get_light_view_projection(float *matrix);