Reduce blob shadow intensity in half

This commit is contained in:
Lwmte 2024-12-30 18:56:50 +01:00
parent 7bb719d337
commit cf8d642e4e

View file

@ -85,7 +85,7 @@ float3 DoBlobShadows(float3 worldPos, float3 lighting)
}
shadowFactor = saturate(shadowFactor);
return lighting * saturate(1.0f - (1.0f - shadowFactor) * SHADOW_INTENSITY);
return lighting * saturate(1.0f - (1.0f - shadowFactor) * (SHADOW_INTENSITY * 0.5f));
}
float3 DoShadow(float3 worldPos, float3 normal, float3 lighting, float bias)