|
@@ -72,7 +72,7 @@ ForwardPassOutput MainPS(VSOutput IN)
|
|
|
|
|
|
// Position, Normal, Roughness
|
|
|
surface.position = IN.m_worldPosition.xyz;
|
|
|
- surface.normal = normalize(IN.m_normal);
|
|
|
+ surface.normal = surface.vertexNormal = normalize(IN.m_normal);
|
|
|
surface.roughnessLinear = 1.0f;
|
|
|
surface.CalculateRoughnessA();
|
|
|
|