Skip to content

Commit

Permalink
Merge branch 'pkristof/newPortalTest' into 'main'
Browse files Browse the repository at this point in the history
[REMIX-2975] Added a new portal test

See merge request lightspeedrtx/dxvk-remix-nv!893
  • Loading branch information
pkristof committed Jul 12, 2024
2 parents ef7b9aa + e0695d6 commit 3baca04
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dxvk/rtx_render/rtx_bloom.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace dxvk {
// we would like to keep the amount of steps as few as possible.
Resources::Resource m_bloomBuffer[5] = {};

RTX_OPTION("rtx.bloom", bool, enable, true, "Enable bloom - glowing halos around intense, bright areas.");
RTX_OPTION_ENV("rtx.bloom", bool, enable, true, "RTX_BLOOM_ENABLE", "Enable bloom - glowing halos around intense, bright areas.");
RTX_OPTION("rtx.bloom", float, burnIntensity, 1.0f, "Amount of bloom to add to the final image.");
RTX_OPTION("rtx.bloom", float, luminanceThreshold, 0.25f,
"Adjust the bloom threshold to suppress blooming of the dim areas. "
Expand Down
2 changes: 1 addition & 1 deletion src/dxvk/rtx_render/rtx_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ namespace dxvk {
public:
const VirtualKeys& remixMenuKeyBinds() const { return m_remixMenuKeyBinds; }

RTX_OPTION("rtx", DLSSProfile, qualityDLSS, DLSSProfile::Auto, "Adjusts internal DLSS scaling factor, trades quality for performance.");
RTX_OPTION_ENV("rtx", DLSSProfile, qualityDLSS, DLSSProfile::Auto, "RTX_DLSS_PROFILE", "Adjusts internal DLSS scaling factor, trades quality for performance.");
// Note: All ray tracing modes depend on the rtx.raytraceModePreset option as they may be overridden by automatic defaults for a specific vendor if the preset is set to Auto. Set
// to Custom to ensure these settings are not overridden.
//RenderPassVolumeIntegrateRaytraceMode renderPassVolumeIntegrateRaytraceMode = RenderPassVolumeIntegrateRaytraceMode::RayQuery;
Expand Down
4 changes: 4 additions & 0 deletions src/dxvk/rtx_render/rtx_postFx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ namespace dxvk {
const Resources::RaytracingOutput& rtOutput,
const bool cameraCutDetected)
{
if (!enable()) {
return;
}

ScopedGpuProfileZone(ctx, "PostFx");

// Simulate chromatic aberration offset scale by calculating the focal length differences of 3 Fraunhofer lines,
Expand Down
2 changes: 1 addition & 1 deletion src/dxvk/rtx_render/rtx_postFx.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ namespace dxvk {
inline bool isChromaticAberrationEnabled() const { return enable() && enableChromaticAberration() && chromaticAberrationAmount() > 0.0f; }
inline bool isVignetteEnabled() const { return enable() && enableVignette() && vignetteIntensity() > 0.0f; }

RW_RTX_OPTION("rtx.postfx", bool, enable, true, "Enables post-processing effects.");
RW_RTX_OPTION_ENV("rtx.postfx", bool, enable, true, "RTX_POST_FX_ENABLE", "Enables post-processing effects.");
RW_RTX_OPTION_ENV("rtx.postfx", bool, enableMotionBlur, true, "RTX_POST_FX_MOTION_BLUR_ENABLE", "Enables motion blur post-processing effect.");
RW_RTX_OPTION("rtx.postfx", bool, enableChromaticAberration, true, "Enables chromatic aberration post-processing effect.");
RW_RTX_OPTION("rtx.postfx", bool, enableVignette, true, "Enables vignette post-processing effect.");
Expand Down

0 comments on commit 3baca04

Please sign in to comment.