Add support for multiple shadowcaster planes

Extended ShadowcasterUpdater and shaders to handle multiple shadowcaster planes by introducing indexed properties and logic for two shadowcaster sets. Updated property names and shader logic to support per-index shadowcaster textures, colors, and brightness, enabling more flexible shadow casting in scenes.
This commit is contained in:
DeMuenu
2025-09-30 12:59:56 +02:00
parent 7a3065211e
commit fd5eb748e2
4 changed files with 74 additions and 25 deletions

View File

@@ -11,12 +11,4 @@
float _Udon_ShadowMapIndex[MAX_LIGHTS];\
float _Udon_PlayerCount; /* set via SetFloat */ \
float4x4 _Udon_WorldToLocal; \
sampler2D _shadowCasterTex; \
float4 _shadowCasterColor; \
float4 _OutSideColor; \
float _MinBrightnessShadow; \
#endif