removed extraneous finalcolor set mangling specular input

This commit is contained in:
AzaezelX 2019-04-10 17:47:56 -05:00
parent c3ea3593ea
commit 33b3798bc2

View file

@ -407,6 +407,5 @@ float4 computeForwardProbes(Surface surface,
float3 diffuse = kD * irradiance * surface.baseColor.rgb;
float4 finalColor = float4(diffuse + specular * surface.ao, 1.0);
finalColor = float4(irradiance.rgb,1);
return finalColor;
}