From a53d076f94c4b38ac511d6d3a5d4fc21e026b183 Mon Sep 17 00:00:00 2001 From: Connor Thomson Date: Fri, 25 Sep 2026 19:47:30 -0700 Subject: Add PCSS shadows --- include/shadow.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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); -- cgit v1.2.3