Browse Source

removed extraneous finalcolor set mangling specular input

AzaezelX 6 years ago
parent
commit
29e211f064
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Templates/Full/game/shaders/common/lighting.hlsl

+ 0 - 1
Templates/Full/game/shaders/common/lighting.hlsl

@@ -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;
 }
 }