Browse Source

Merge pull request #734 from Azaezel/alpha40/bakefix

fix probe baking typo
Brian Roberts 3 years ago
parent
commit
21c72f6b53

+ 1 - 1
Templates/BaseGame/game/core/rendering/shaders/lighting/advanced/reflectionProbeArrayP.hlsl

@@ -190,6 +190,6 @@ float4 main(PFXVertToPix IN) : SV_TARGET
 #if CAPTURING == 1
     return float4(lerp(surface.baseColor.rgb,(irradiance + specular* horizon) ,surface.metalness/2),0);
 #else
-   return result = float4((irradiance + specular* horizon) , 0);//alpha writes disabled   
+   return float4((irradiance + specular* horizon) , 0);//alpha writes disabled   
 #endif
 }