normal orientation debug lines (remmed)

This commit is contained in:
AzaezelX 2019-05-05 18:35:08 -05:00
parent d1b24af399
commit 6957e69d83
2 changed files with 2 additions and 1 deletions

View file

@ -404,6 +404,6 @@ float4 computeForwardProbes(Surface surface,
//final diffuse color
float3 diffuse = kD * irradiance * surface.baseColor.rgb;
float4 finalColor = float4(diffuse + specular, 1);
//finalColor.rgb += abs(surface.N);
return finalColor;
}

View file

@ -198,5 +198,6 @@ float4 main(PFXVertToPix IN) : SV_TARGET
float3 diffuse = kD * irradiance * surface.baseColor.rgb;
float4 finalColor = float4(diffuse + specular * surface.ao, 1.0);
//finalColor.rgb += abs(surface.N);
return finalColor;
}