Updated the shadow visual.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user