Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extern/Streamline-DX12
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified features/Upscaling/Shaders/Upscaling/Streamline/nvngx_dlss.dll
Binary file not shown.
Binary file modified features/Upscaling/Shaders/Upscaling/Streamline/sl.common.dll
Binary file not shown.
Binary file modified features/Upscaling/Shaders/Upscaling/Streamline/sl.dlss.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 1 addition & 8 deletions src/Features/Upscaling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT(
frameGenerationForceEnable,
streamlineLogLevel,
sharpnessFSR,
sharpnessDLSS,
DLSSPreset);
sharpnessDLSS);

decltype(&D3D11CreateDeviceAndSwapChain) ptrD3D11CreateDeviceAndSwapChainUpscaling;

Expand Down Expand Up @@ -215,12 +214,6 @@ void Upscaling::DrawSettings()
ImGui::SliderFloat("Sharpness", &settings.sharpnessFSR, 0.0f, 1.0f, "%.1f");
} else if (upscaleMethod == UpscaleMethod::kDLSS) {
ImGui::SliderFloat("Sharpness", &settings.sharpnessDLSS, 0.0f, 1.0f, "%.1f");

// VR DLSS preset selection
if (globals::game::isVR) {
const char* presets[] = { "F (Fast)", "J (Quality)", "K (Ultra)" };
ImGui::SliderInt("DLSS Preset", (int*)&settings.DLSSPreset, 0, 2, presets[settings.DLSSPreset]);
}
}
}

Expand Down
1 change: 0 additions & 1 deletion src/Features/Upscaling.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ struct Upscaling : Feature
uint streamlineLogLevel = 0; // 0=Off, 1=Default, 2=Verbose
float sharpnessFSR = 1.0f;
float sharpnessDLSS = 1.0f;
uint DLSSPreset = 2; // VR-specific DLSS preset: 0=F, 1=J, 2=K
};

Settings settings;
Expand Down
21 changes: 0 additions & 21 deletions src/Features/Upscaling/Streamline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,27 +285,6 @@ void Streamline::SetDLSSOptions()
dlssOptions.preExposure = 1.0f;
dlssOptions.sharpness = 0.0f;

// Set DLSS preset based on VR mode
sl::DLSSPreset preset = sl::DLSSPreset::ePresetK; // Default
switch (globals::features::upscaling.settings.DLSSPreset) {
case 0:
preset = sl::DLSSPreset::ePresetF;
break;
case 1:
preset = sl::DLSSPreset::ePresetJ;
break;
case 2:
default:
preset = sl::DLSSPreset::ePresetK;
break;
}

dlssOptions.dlaaPreset = preset;
dlssOptions.qualityPreset = preset;
dlssOptions.balancedPreset = preset;
dlssOptions.performancePreset = preset;
dlssOptions.ultraPerformancePreset = preset;

if (SL_FAILED(result, slDLSSSetOptions(viewport, dlssOptions))) {
logger::critical("[Streamline] Could not enable DLSS");
}
Expand Down
Loading