Shader code cleanupand bug fix.

This commit is contained in:
2025-02-17 22:15:27 +09:00
parent eacbbc9b8b
commit 4ce84572d0
20 changed files with 375 additions and 467 deletions

View File

@@ -81,7 +81,7 @@ TEXTURE2D(_SSSLutMap);
//SAMPLER(sampler_SSSLutMap); //Use s_linear_clamp_sampler instead
TEXTURE2D(_HairShadowTex);
TEXTURE2D(_HairBlendingTex);
TEXTURE2D_X(_HairBlendingTex);
#else

View File

@@ -46,8 +46,12 @@ float _SSRWeight;
//Rim Light
float4 _RimLightColor;
float _RimLightStrength;
float _RimLightIntensity;
float _RimLightLevel;
fixed _RimLightClipping;
float _RimLightClippingLevel;
float _LightDirectionRimLightLevel;
// Outline
float _OutlineWidth;
@@ -95,15 +99,10 @@ fixed _Is_BlendAddToHiColor;
fixed _Is_BlendAddToRimColor;
fixed _Is_UseTweakHighColorOnShadow;
float _TweakHighColorOnShadow;
float4 _Set_HighColorMask_ST;
float _Tweak_HighColorMaskLevel;
fixed _Is_LightColor_RimLight;
fixed _Is_NormalMapToRimLight;
float _RimLight_InsideMask;
fixed _RimLight_FeatherOff;
fixed _LightDirection_MaskOn;
float _Tweak_LightDirection_MaskLevel;
fixed _Add_Antipodean_RimLight;
float4 _Ap_RimLightColor;
fixed _Is_LightColor_Ap_RimLight;