This commit is contained in:
Turánszki János
2024-03-27 07:38:00 +01:00
parent 3a0731abb4
commit 05618bf40a
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ void main(uint3 Gid : SV_GroupID, uint3 GTid : SV_GroupThreadID)
if (validHit)
{
const float3 Phit = reconstruct_position(jitterUV, hit.z, GetCamera().inverse_projection);
const float3 Phit = reconstruct_position(jitterUV, hit.z);
output_rayLengths[pixel] = distance(P, Phit);
}
else
-2
View File
@@ -2054,8 +2054,6 @@ namespace wi::scene
XMStoreFloat4x4(&InvView, _InvV);
XMStoreFloat3x3(&rotationMatrix, _InvV);
XMStoreFloat4x4(&InvVP, XMMatrixInverse(nullptr, _VP));
XMStoreFloat4x4(&Projection, _P);
XMStoreFloat4x4(&InvProjection, XMMatrixInverse(nullptr, _P));
frustum.Create(_VP);
}
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wi::version
// minor features, major updates, breaking compatibility changes
const int minor = 71;
// minor bug fixes, alterations, refactors, updates
const int revision = 413;
const int revision = 414;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);