Forráskód Böngészése

removed extraneous finalcolor set mangling specular input

AzaezelX 6 éve
szülő
commit
29e211f064
1 módosított fájl, 0 hozzáadás és 1 törlés
  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;
    float4 finalColor = float4(diffuse + specular * surface.ao, 1.0);
 
-   finalColor = float4(irradiance.rgb,1);
    return finalColor;
 }