mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
removed extraneous finalcolor set mangling specular input
This commit is contained in:
parent
c3ea3593ea
commit
33b3798bc2
1 changed files with 0 additions and 1 deletions
|
|
@ -407,6 +407,5 @@ float4 computeForwardProbes(Surface surface,
|
||||||
float3 diffuse = kD * irradiance * surface.baseColor.rgb;
|
float3 diffuse = kD * irradiance * surface.baseColor.rgb;
|
||||||
float4 finalColor = float4(diffuse + specular * surface.ao, 1.0);
|
float4 finalColor = float4(diffuse + specular * surface.ao, 1.0);
|
||||||
|
|
||||||
finalColor = float4(irradiance.rgb,1);
|
|
||||||
return finalColor;
|
return finalColor;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue