Skip to content

Instantly share code, notes, and snippets.

@BelleNottelling
Created October 13, 2023 08:57
Show Gist options
  • Save BelleNottelling/e20164b10cfb337f7a853b25fdafd0a6 to your computer and use it in GitHub Desktop.
Save BelleNottelling/e20164b10cfb337f7a853b25fdafd0a6 to your computer and use it in GitHub Desktop.
RTX Remix (Portal with RTX) Config Tweaks for Improved FPS
## Place the following lines at the bottom of your game's rtx.conf file.
## I have done my best to find the config options that net the bigest FPS gains without completely giving up the additional quality of RT.
## In the case of Portal RTX (Both of them), these do result in minor lighting glitches in a few cases, however it's rather minor.
## For me, the tweaks applied on-top of just a 30% resolution scaling factor gives the game another 10-20% increase in FPS depending on the scene.
## If you want to see a video of how the game looks with these changes, here's a video I recorded: https://www.youtube.com/watch?v=pYuLyxiiqwg
# Tweaks to the max number of bounces & light interactions.
# primaryRayMaxInteractions was only reduced to 2 as anything lower completely breaks many of the lighting effects in the game.
rtx.pathMaxBounces = 1
rtx.primaryRayMaxInteractions=2
rtx.secondaryRayMaxInteractions=1
rtx.psrRayMaxInteractions=1
rtx.psrrMaxBounces=1
rtx.pstrMaxBounces=1
# This applies a roughness bias to all materials, effectively reducing how reflective they are and (in theory), reducing the number of traced rays for better performance
# If you modify this, do so in small increments as you an easily make everything completely unreflective. At the current setting, you are unlikely to notice a difference
rtx.opaqueMaterial.roughnessBias=0.1
# Resolution scale. 0.210000 for 4k native, 0.300000 for 1440p native, and 0.400000 for 1080p native. (Based on my performance with a 6950XT)
# If you open the RTX remix overlay, it will revert the scaling back to the lowest NVIDIA gives in the UI (that being 50%)
rtx.resolutionScale = 0.300000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment