Azaezel 6 年之前
父節點
當前提交
0bc9d8023b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Templates/Full/game/shaders/common/lighting/advanced/reflectionProbeArrayP.hlsl

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

@@ -297,7 +297,7 @@ float4 main(PFXVertToPix IN) : SV_TARGET
    //apply brdf
    //Do it once to save on texture samples
    float2 brdf = TORQUE_TEX2DLOD(BRDFTexture, float4(surface.roughness, surface.NdotV, 0.0, 0.0)).xy;
-   specular *= brdf.x * F + brdf.y;
+   specular *= (brdf.x + brdf.y)* F;
 
    //final diffuse color
    float3 diffuse = kD * irradiance * surface.baseColor.rgb;