You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the velocity texture scale passed to SLWrapper::Get().TagResources_General() is [-1, 1], it seems that the image becomes blurry during camera movement if sl::Constants is set as follows:
You should be able to verify this in the StreamlineSample using the following steps, but it will crash unless the issue previously reported is resolved...
Modify StreamlineSample.cpp in StreamlineSample. Set slConstants.cameraMotionIncluded = sl::Boolean::eFalse and slConstants.mvecScale = { 1.0f, 1.0f }.
Modify mvec.hlsl in Streamline to convert from pixel space to a scale of [-1, 1].
Modify dlssEntry.cpp in Streamline so that mvecPixelSpace = false.
The text was updated successfully, but these errors were encountered:
DLSS-SR is expecting mvecs in screen space as described in the DLSS Programming Guide section 3.6.1. If your mvecs are in another format (not supported directly by SL), we recommend doing the conversion in your engine and have SL pass the buffer through untouched (rather than changing SL to support your desired conversion).
Upon checking, it seems that the mvecScale settings were incorrect. After setting slConstants.mvecScale = { -1.0f, -1.0f }, the issue no longer occurs when moving the camera, so I will close this issue. Thank you for your confirmation.
Version and Platform:
When the velocity texture scale passed to
SLWrapper::Get().TagResources_General()
is [-1, 1], it seems that the image becomes blurry during camera movement ifsl::Constants
is set as follows:When I pass the velocity texture converted from [-1, 1] to pixel space to
TagResources_General()
and set the following:it works correctly.
You should be able to verify this in the StreamlineSample using the following steps, but it will crash unless the issue previously reported is resolved...
StreamlineSample.cpp
in StreamlineSample. SetslConstants.cameraMotionIncluded = sl::Boolean::eFalse
andslConstants.mvecScale = { 1.0f, 1.0f }
.mvec.hlsl
in Streamline to convert from pixel space to a scale of [-1, 1].dlssEntry.cpp
in Streamline so thatmvecPixelSpace = false
.The text was updated successfully, but these errors were encountered: