Updated the shadow visual.

This commit is contained in:
2025-11-06 18:13:19 +09:00
parent bcba75a7d6
commit 600c8f65ac

View File

@@ -118,8 +118,7 @@ DirectLighting UtsShadeSurface(PositionInputs posInput, UtsBSDFData bsdfData, Pr
if (Max3(lightColor.r, lightColor.g, lightColor.b) > 0.0)
{
// SHADOW_TYPE sharpShadow = smoothstep(0.0, 1.0, shadow);
SHADOW_TYPE sharpShadow = shadow;
SHADOW_TYPE sharpShadow = smoothstep(0.4, 0.6, shadow);
#if _RECEIVE_HAIR_SHADOW_ON && ENABLE_UTS_HAIR_SHAOW
sharpShadow *= GetHairShadow(posInput, L, bsdfData.normalWS);
#endif