diff --git a/Templates/Full/game/shaders/common/lighting/advanced/reflectionProbeP.hlsl b/Templates/Full/game/shaders/common/lighting/advanced/reflectionProbeP.hlsl index 71a51ae5e..6ea1ba010 100644 --- a/Templates/Full/game/shaders/common/lighting/advanced/reflectionProbeP.hlsl +++ b/Templates/Full/game/shaders/common/lighting/advanced/reflectionProbeP.hlsl @@ -115,10 +115,7 @@ float4 main( ConvexConnectP IN ) : SV_TARGET if(useSphereMode) { float3 L = probeWSPos - surface.P; - blendVal = getDistanceAtt(L, radius); - if (length(L)>radius) - blendVal = -1; - + blendVal = 1.0-length(L)/radius; } else {