voxel gi fix

This commit is contained in:
Turanszki Janos
2021-02-01 02:02:31 +01:00
parent 9b308941fd
commit d23460ff5c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
}
}
}
+1 -1
View File
@@ -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);