Fix nits (https://github.com/o3de/o3de/pull/6428#discussion_r774251316 , https://github.com/o3de/o3de/pull/6428#discussion_r774252019)
Signed-off-by: Santi Paprika <santi.gonzalez.cs@gmail.com>
This commit is contained in:
@@ -136,7 +136,7 @@ VSOutput SkinVS(VSInput IN)
|
|||||||
}
|
}
|
||||||
|
|
||||||
VertexHelper(IN, OUT, worldPosition, false);
|
VertexHelper(IN, OUT, worldPosition, false);
|
||||||
|
|
||||||
return OUT;
|
return OUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ float3 GetBackLighting(Surface surface, LightingData lightingData, float3 lightI
|
|||||||
|
|
||||||
{
|
{
|
||||||
// Irradiance arround surface point.
|
// 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);
|
float3 E = surface.albedo * max(lightingData.angleOffset + dot(-surface.normal, dirToLight),0.0);
|
||||||
|
|
||||||
// Transmission distance modulated by editor-exposed scale parameter
|
// Transmission distance modulated by editor-exposed scale parameter
|
||||||
|
|||||||
Reference in New Issue
Block a user