Add shadow caster support to LitParticles shader

Introduced shadow caster texture, color, outside color, and minimum brightness parameters to the LitParticles shader. Moved related variable declarations to Variables.hlsl for reuse and removed redundant declarations from BlendinShader.shader. Updated LitParticles lighting calculation to apply shadow caster effects when appropriate.
This commit is contained in:
DeMuenu
2025-09-30 01:20:22 +02:00
parent 868e713336
commit 7a3065211e
3 changed files with 25 additions and 8 deletions

View File

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