fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user