diff --git a/WickedEngine/lightingHF.hlsli b/WickedEngine/lightingHF.hlsli index b5adbed0d..d8b222afc 100644 --- a/WickedEngine/lightingHF.hlsli +++ b/WickedEngine/lightingHF.hlsli @@ -921,7 +921,7 @@ inline void VoxelGI(in Surface surface, inout Lighting lighting) { float4 reflection = ConeTraceReflection(texture_voxelradiance, surface.P, surface.N, surface.V, surface.roughness); - lighting.indirect.specular = lerp(lighting.indirect.specular, reflection.rgb, reflection.a * blend); + lighting.indirect.specular = lerp(lighting.indirect.specular, reflection.rgb * surface.F, reflection.a * blend); } } } diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index dfbc02d59..3e6943ecf 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wiVersion // minor features, major updates, breaking compatibility changes const int minor = 52; // minor bug fixes, alterations, refactors, updates - const int revision = 18; + const int revision = 19; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);