Santi Paprika
2021-12-23 11:33:36 +01:00
parent e6ec859c8d
commit 2d45ecb616
2 changed files with 2 additions and 2 deletions
@@ -136,7 +136,7 @@ VSOutput SkinVS(VSInput IN)
}
VertexHelper(IN, OUT, worldPosition, false);
return OUT;
}
@@ -65,7 +65,7 @@ float3 GetBackLighting(Surface surface, LightingData lightingData, float3 lightI
{
// Irradiance arround surface point.
// Increase angle of influence (angle(N,L) -> angle(N,L) + acos(angleOffset)) to smoothen transition regions
// Increase angle of influence (angle(N,L) -> angle(N,L) + acos(angleOffset)) to smooth transition regions
float3 E = surface.albedo * max(lightingData.angleOffset + dot(-surface.normal, dirToLight),0.0);
// Transmission distance modulated by editor-exposed scale parameter