Merge pull request #734 from Azaezel/alpha40/bakefix

fix probe baking typo
This commit is contained in:
Brian Roberts 2022-03-06 13:26:19 -06:00 committed by GitHub
commit 21c72f6b53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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