File information

Last updated

Original upload

Created by

Swartz420

Uploaded by

Swartz420

Virus scan

Safe to use

114 comments

  1. Swartz420
    Swartz420
    • member
    • 2 kudos
    Sticky
    I no longer have time for this mod, so I'm ceasing all support.
    Enjoy, modify as you wish, and thanks for the good feedback and support.
  2. Swartz420
    Swartz420
    • member
    • 2 kudos
    Sticky
    Since this is a mod regarding visual tweaking, I also wanted to give people some advice on tweaking the RDR2 settings.xml file that you can find in Documents/Rockstar Games/Red Dead Redemption 2/settings/system.xml.

    I want to explain some settings that I don't think some people are aware of.

    <asyncComputeEnabled value="true" />
    For older cards, changing this value to false when using DX12 can help performance (it does on my GTX 1070). It's worth experimenting with.

    ?<waterReflectionSSR value="true" />
    Changing this to false will disable Screen Space Reflections on water, saving performance. Even though the performance for me is fine with it on, I always turn it off since Screen Space Reflections hog too much performance for an effect that is very limited IMO.

    ?<probeRelightEveryFrame value="false" />
    If you set this to true, reflection//light probes will update every frame for more accurate lighting. Obviously comes with a performance cost, but if you have a high-end GPU and want to crank things further, consider turning this on.

    ?<lodScale value="1.000000" />
    In vanilla, lodScale is capped at 1.0 (the distance at which to start using lower levels of detail). With this mod it now goes up to 2.0.

    ?<sharpenIntensity value="0.000000" />
    In the vanilla game, this goes as high as 4.0. In this mod, it goes up to 10.0. Personally, I don't like the game's built-in sharpening filter, but for those who want to crank it up there you go.
    I'm planning on improving the quality of the Temporal AA in a way that also increases sharpness, but I have more to learn.
    1. kevinsesario
      kevinsesario
      • member
      • 1 kudos
      also tweak this <deepsurfaceQuality>kSettingLevel_High</deepsurfaceQuality> to ULTRA to extend the range horse and wagon etc tracks trail fades
      btw can you explain this setting <ambientMaskVolumesHighPrecision> ? this is GI or AO ??


    2. deleted64410811
      deleted64410811
      • account closed
      • 0 kudos
      thanks a lot, looking for these things for ages since my game runs on 30 fps lol

      i already knewed asynccomputerenabled but i notified it make my game crash apparently even if i’m in directx, do you know why?
  3. sYnc3
    sYnc3
    • premium
    • 0 kudos
    Hello

    Is there a version WITH vignette? I like the effect and it's seriously keeping me from using this mod. Thanks!
  4. vbiguine
    vbiguine
    • premium
    • 19 kudos
    @Swartz:

    could you please help me fix a problem that has been following me and plaguing my sessions since the game's launch and despite EVERYTHING I tried nothing has worked..

    I have shadows that flicker and disappear at the edge of my screen when I pan around, this does not happen everywhere. It only happens throughout the map and on far away shadows (I can often see it going from the heartland oil fields to valentine on the road just north of citadel rock, if you look at the hills to the right all the shadows there flicker and disappear or sometimes I will have a huge shadow that blankets the entire hill and follows me EVERYWHERE I go as I gallop. IT"S A NIGHTMARE!!! it happens frequently only on far away shadows and at the edge of the screen)

    I had the exact same issue with Witcher 3 and I fixed it by putting all cascade shadows to 4, I am certain that with this mod if I can address the shadows and more specifically the cascade shadows this problem in RDR2 will disappear as well.

    Please does anyone know of this problem and does anyone know of a solution? This is a nightmare and it completely ruins the immersion, I have to rage quit the game because it is impossible to ignore..
    1. vbiguine
      vbiguine
      • premium
      • 19 kudos
      Could that be it?

      cascadeshadows.maxCascades                  5.0 #4.0
      cascadeshadows.edgeFilterScale                3.0
      cascadeshadows.shaderSlopeBiasFactor        .075


      why is there a hashtag next the 5.0 and then a 4? Shouldn't it just be one numerical attribute? why the hashtag with the extra number?

      what does the edge filter scale do? and the slope bias factor?
    2. Swartz420
      Swartz420
      • member
      • 2 kudos
      The hashtag is a way of commenting out code, I use it to show what the original game's value had been.
      From what you're describing, this might actually be an issue with screenspace shadows.
      Try the following.
      In settings.xml, find these two lines:
          <worldHeightShadowQuality value="1.000000" />
          <directionalScreenSpaceShadowQuality value="1.000000" />
      Change them both to 0.0. This will disable all screenspace shadows. See if that solves it.

      You can experiment with other values, I currently don't know what EdgeFilterScale does, but SlopeBiasFactor likely influences the slope at which to "bias" the shadows towards, to get around precision issues. Try increasing or decreasing this value, see if that helps too.
    3. vbiguine
      vbiguine
      • premium
      • 19 kudos
      First and foremost thank you for taking the time to respond. Tried playing around with the values of all three cascade shadows, did not work.. Put the values of worldheightshadow and directionalscreenspace to 0, did not work but somehow helped a little, there is alot less going on but i still have shadows appear on the hill's rock surface that disappear and the shadow blanket that follows me everywhere I go for a good while.

      There has to be someone out there who knows what this is.. Do you have any other idea whatsoever, I am desperate. are there any other place to adjust cascade shadows values? 

      I heard from someone that RayTracing shadows would address my problem, do you think that true? Apparantly this is a problem that occured in GTA5, Witcher3 and RDR2 and RayTracing shadows addresses that problem.

      https://www.youtube.com/watch?v=AcUR1sNuvOA  look in SHOWMORE for the RTshaders, do you think that would work? Is it worth for me to pay 20 dollars to get the alpha membership from Pascal's patreon? I dont care who or what i need to pay for this f*#@ing problem to go away.
    4. Swartz420
      Swartz420
      • member
      • 2 kudos
      You're playing a game that has vast wide open areas, you're going to have messed up shadows in the distance no matter what you do. It's a limitation of rasterization.
      I don't think you understand how raytracing works, raytraced shadows can't be modded in. You'd need full access to the shaders and access to the source code for the game.
      Good luck.
      *Edit*
      Just noticed you mentioned Pascal's shaders. He's not using real ray-tracing, it's screen-space ray-tracing, and it will have zero effect on the problem you are having. It's an overlay of new effects on top of existing ones, it's not possible to add real GI, reflections, shadows, etc. from what he's doing, and he hasn't claimed to have done so.
    5. vbiguine
      vbiguine
      • premium
      • 19 kudos
      Well.. I'm screwed..
    6. givemethosemods
      givemethosemods
      • member
      • 0 kudos
      I fixed it by putting vanilla setting distant shadows on low/medium
    7. givemethosemods
      givemethosemods
      • member
      • 0 kudos
      nvm its called Far shadow quality. Put it on low or medium and your problem should be gone, although in some specific instances you can notice a little lower quality, but nothing as noticable as this s#*! on higher quality. https://www.youtube.com/watch?v=yLJuQAK8s0Q&ab_channel=Usavich this vid is a problem thats driving me crazy, if anyone knows a fix
    8. vbiguine
      vbiguine
      • premium
      • 19 kudos
      @givemethosemods

      Thank you very much for your reply but as always nothing absolutely NOTHING works.. far shadows on trees leaves, tree shadows and shadows on rock surfaces STILL flicker and disappear everywhere on the edge of the screen as I pan around, such a disappointment how problems like yours and mine persist years after a launch. I have never been able to play this game, it's unplayable, plagued with graphical glitches.

      Could you please post a video on youtube about the problem I am referring to on my post here? I want to see if you and I are talking about the same thing, I want to make sure this problem is not exclusive to me only. Also a visual may help someone with the knowledge pin point the cause.

      Thank you both regardless.
    9. vbiguine
      vbiguine
      • premium
      • 19 kudos
      @swartz

      I've noticed a small bug with the implementation of your MOD. The clouds will now have a streak or thin smear in the middle in some areas of the sky, this only happens if your mod is installed.

      I've also noticed that the 'edge of the screen' bug will now make clouds disappear as I pan around, however this does not happen without your mod installed. the shadow bug has been there for me since the start but never the clouds, this is happening now.
    10. kevinsesario
      kevinsesario
      • member
      • 1 kudos
      try changing this value to fix cloud smear problem
      misc.fog.precision                1.0 -> 0.5
      misc.fog.precision_low                0.8 -> 0.3
    11. vbiguine
      vbiguine
      • premium
      • 19 kudos
      @Kevinsesario

      Thank you sir, that's a perfect fix for the smear lines in the clouds.
    12. vbiguine
      vbiguine
      • premium
      • 19 kudos
      By the way I don't see a mention of this anywhere in the comments but I want to precise just how much better the game looks without the vignette effect, really though a DRASTIC improvement on the feel of the visuals without this disastrously bad choice of style.
    13. vbiguine
      vbiguine
      • premium
      • 19 kudos
      @givemethosemods

      I've found this forum talking about your issue, there are two propositions (silversurferprod & Greybear) on this forum, both seem like a far cry but try none the less you might get lucky. Let me know if any of them worked, if not I'll always keep you in mind while looking around for a solution to my problem.

      https://www.nvidia.com/en-us/geforce/forums/geforce-graphics-cards/5/345973/rdr-2-dark-shadow-like-flicker/
    14. vbiguine
      vbiguine
      • premium
      • 19 kudos
      @swartz

      found this thread and seems like you nailed the source of the problem right off the bat: https://www.reddit.com/r/PCRedDead/comments/im86yt/shadows_flickering_on_edge_of_screen/

      The more I look into the problem and the more I see posts about Raytracing fixing this problem but I don't think that's ever going to happen for RDR2 if pascal's shader files does not actually do that.

      I wanted to ask you if you could give us a file that extends the far shadow quality beyond special (special x2, special x5, special x10), giving us ridiculously high presets to see if there is a threshold at which this problem will go away. Because if you do not experience this issue for whatever reason let me explain this to you clearly: The game is unplayable for those who are.. EVERYTHING flickers and disappears at the edge of the screen, it's impossible to ignore. Anything you can do to help would be greatly appreciated, hard to describe how frustrating it is to never have been able to enjoy this game.
    15. Swartz420
      Swartz420
      • member
      • 2 kudos
      Here are two suggestions to help minimize the issue.

      1) I'm sure you already changed the screen space shadow settings to 0.0 in settings.xml, but we can make damn sure they're not used at all by finding this set of values in the mod's default visualsettings.dat:
      ?# Screen shadow near
      screenshadownear.numsamplesmin        4 #4
      screenshadownear.numsamplesmax        16 #12
      screenshadownear.raylengthmin        .057
      screenshadownear.raylengthmax        .17
      screenshadownear.opacitymin            0.6
      screenshadownear.opacitymax            0.6
      screenshadownear.cutoff                0.043

      # Screen shadow far
      screenshadowfar.numsamplesmin        1 #4
      screenshadowfar.numsamplesmax        6 #12
      screenshadowfar.raylengthmin        0.088
      screenshadowfar.raylengthmax        0.23
      screenshadowfar.opacitymin            0.95
      screenshadowfar.opacitymax            0.95
      screenshadowfar.cutoff                0.03

      # Screen shadow ped
      screenshadowped.numsamplesmin        4 #6
      screenshadowped.numsamplesmax        12 #12
      screenshadowped.raylengthmin        .057
      screenshadowped.raylengthmax        .17
      screenshadowped.opacitymin            0.8
      screenshadowped.opacitymax            0.8
      screenshadowped.cutoff                0.075


      #move to nearer cascade fade out range
      screenshadow.NearFarDist                    600.0                               
      screenshadow.NoLDist                        80.0

      worldheightshadow.numsamplesmin             1
      worldheightshadow.raylengthmin              50.0
      worldheightshadow.numsamplesmax             8
      worldheightshadow.raylengthmax              400.0
      worldheightshadow.errorScale                64.0
      worldheightshadow.errorBias                 0.011f

      *Edit*

      And these lines:
      ?lights.screenshadow.raylength             0.047 #0.057
      lights.screenshadow.cutoff                0.04 #0.05
      lights.screenshadow.strength              0.75 #0.6
      lights.screenshadow.noldist               80.0
      lights.screenshadow.wraplightingdepthbias 0.035

      Change those values to the following:
      ?# Screen shadow near
      screenshadownear.numsamplesmin        0
      screenshadownear.numsamplesmax        0
      screenshadownear.raylengthmin        .0
      screenshadownear.raylengthmax        .0
      screenshadownear.opacitymin            0.0
      screenshadownear.opacitymax            0.0
      screenshadownear.cutoff                0.0

      # Screen shadow far
      screenshadowfar.numsamplesmin        0
      screenshadowfar.numsamplesmax        0
      screenshadowfar.raylengthmin        0.0
      screenshadowfar.raylengthmax        0.0
      screenshadowfar.opacitymin            0.0
      screenshadowfar.opacitymax            0.0
      screenshadowfar.cutoff                0.0

      # Screen shadow ped
      screenshadowped.numsamplesmin        0
      screenshadowped.numsamplesmax        0
      screenshadowped.raylengthmin        .0
      screenshadowped.raylengthmax        .0
      screenshadowped.opacitymin            0.0
      screenshadowped.opacitymax            0.0
      screenshadowped.cutoff                0.0


      #move to nearer cascade fade out range
      screenshadow.NearFarDist                    0.0                               
      screenshadow.NoLDist                        0.0

      worldheightshadow.numsamplesmin             0
      worldheightshadow.raylengthmin              0.0
      worldheightshadow.numsamplesmax             0
      worldheightshadow.raylengthmax              0.0
      worldheightshadow.errorScale                64.0 #Not sure if is worth modifying
      worldheightshadow.errorBias                 0.011f
      lights.screenshadow.raylength             0.0
      lights.screenshadow.cutoff                0.0
      lights.screenshadow.strength              0.0
      lights.screenshadow.noldist               0.0
      lights.screenshadow.wraplightingdepthbias 0.035

      That should completely disable the screenspace shadow effect.

      2) To increase shadow distance, there are multiple files to modify, and it's going to be a pain in the ass to do without doing a search & replace.
      With the program Notepad++, open a file in the "timecycle" folder, doesn't matter which one.
      Now, go to Search->Find In Files.
      In "Find What", add the following line:
      <dir_shadow_distance_multiplier> 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000</dir_shadow_distance_multiplier>

      In "Replace With", add this line:
      <dir_shadow_distance_multiplier> 1.5000 1.5000 1.5000 1.5000 1.5000 1.5000 1.5000 1.5000 1.5000 1.5000 1.5000 1.5000 1.5000</dir_shadow_distance_multiplier>

      Make sure the "Follow current doc." box is checked.
      Now, click "Replace in Files".
      It'll ask to confirm, say yes.
      When I just tried it, it replaced a total of 97 occurrences, so make sure it's replaced that many (it'll be in blue text at the bottom of the box).

      You can change each 1.5 to whatever distance you want.

      Some further tweaks you might want to experiment with, that are in these weather/timecycle files:
      <dir_shadow_num_cascades> 4.0000 4.0000 4.0000 4.0000 4.0000 4.0000 4.0000 4.0000 4.0000 4.0000 4.0000 4.0000 4.0000</dir_shadow_num_cascades>
      <dir_shadow_softness> -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000 -1.0000</dir_shadow_softness>
      <dir_shadow_cascade0_scale> 1.0000 1.0000 1.0479 3.0000 3.0000 3.0000 3.0000 3.0000 3.0000 1.0000 3.0000 1.0000 1.0000</dir_shadow_cascade0_scale>
      <enable_screen_space_shadow> 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000</enable_screen_space_shadow>
      To be on the safe side actually, go ahead and do a find & replace in files for that last one, changing it to 0 of course.

      Note that these values aren't always consistent across files, which can make things a real headache (for example when I had thought I removed the vignette effect, I was modifying these files with find and replace, but there were different values used all over the place).

      Here are some important notes about shadow distance and shadow cascades that apply to this game engine and any game engine that uses them:
      https://programmersought.com/article/33663383012/

      In terms of ray-traced shadows, it'll likely never happen in this game, and unless you have a beefy RTX card, it would destroy performance.

      Hopefully this was helpful.
    16. vbiguine
      vbiguine
      • premium
      • 19 kudos
      @swartz

      Thank you VERY VERY much, adjusting the values of the visualsettings.dat has completely removed the visual glitches at the edge of the screen. Yes the game does not look as optimal as it could but its no longer a deal breaker, I am actually going to be able to play the campaign and live the story of read dead redemption 2 thanks to you. I had honestly though I exceeded the limits of your patience when I saw there was no answer for a while, I really wish there was an substantive way for me to express my appreciation for the effort you put in to your reply. THANK YOU.. really..



      PS: I have not been able to test the alternative as adjusting the values of<dir_shadow_distance_multiplier> 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
      1.0000</dir_shadow_distance_multiplier>
      were not even found once in the find files of the timecycle folder using notepad++

      <dir_shadow_distance_multiplier>seems to have different values in my files, infact different files have separate values of their own which mean I will have to hunt those groups down and adjust each of them in all 67 files of the timecycle folder until all have been attributed the new values of 1.5000. As you can imagine this is gonna take a few hours, I will get around to it promptly and report back if this is a good alternative to the altercations we've made to the visualsettings.dat
    17. Swartz420
      Swartz420
      • member
      • 2 kudos
      I've just been busy and have stopped supporting the mod, that's why it took me a while to reply.
      I'm moody a lot, so if I'm coming across that way it's nothing personal.

      Anyway, glad it was fixed.
      If you feel like thanking me, an endorsement or a donation is always welcome, but not expected, just enjoy the mod.

    18. linehand
      linehand
      • member
      • 17 kudos
      IRTM... Yeah, I hate the way this game does screen space effects. Reflections and shadows. Can't they just render 10% to 20% past the viewport edges to reduce the edge of frame effect pop-in. Even just a 5% viewport crop (pre-hud) would be a noticeable improvement. If it's a performance issue... well I can't see how it could reduce performance more than increasing FOV and/or screen resolution and/or DSR factors.

      It does seem like a mod could potentially address this. Just render a slightly larger image, reduce the hud slightly (scaling down from screen center), and crop. As a game mod, that's beyond me. However, a similar and even simpler (albeit lower fidelity) workaround could even be done in reshade. Using that reshade mod that allows injecting effects beneath a game's hud (not just masking the hud), a simple upscale could then work. That is even something I could probably manage on my own, so I'll see if I can't cook something up...
  5. Banjomir777
    Banjomir777
    • premium
    • 90 kudos
    Just installed this mod, but I see no Special settings. Anyone know how to update the mod to work with the latest version of the game?
    1. TheBeefyBoa
      TheBeefyBoa
      • member
      • 0 kudos
      Doesn't work anymore.
  6. koob68
    koob68
    • member
    • 11 kudos
    Can anyone clearly explain what to install JUST for the no vignette, not interested in the other stuff. I know it's in the description but not too clear. 
  7. Daniikas
    Daniikas
    • member
    • 3 kudos
    hi after the update i cant use the settings special :(
  8. Daniikas
    Daniikas
    • member
    • 3 kudos
    hi the mod not work with thee new update??
  9. deleted2770933
    deleted2770933
    • account closed
    • 81 kudos
    Looks like this mod no longer works after the latest game update.
  10. tk423
    tk423
    • supporter
    • 3 kudos
    Are any of the settings this mod adds able to eliminate the shadow 'pop in' caused by occlusion culling for shadows/screen space shadows?
  11. pjoliver182
    pjoliver182
    • supporter
    • 0 kudos
    Try this mod instead:

    https://www.nexusmods.com/reddeadredemption2/mods/926?tab=description
  12. Uhzu
    Uhzu
    • member
    • 28 kudos
    Hey IRTR With the New DLSS update the mod no longer works. I've installed everything that it needs and still doesn't work. This mod requires update. without it sadly this mod is RIP. 
    1. Shadowdane
      Shadowdane
      • premium
      • 0 kudos
      Yah I can't get it to work with the newer updates either..    tried adding the missing XML values into systemsettings.ymt for the DLSS options.   And also changing the folder to update_4 to overwrite the updated settings file which was added in the update.   I think it actually loads it but the game instantly crashes with the changes that I tried to make to the files.

      It sounds like @Swartz420 doesn't have time to update this anymore and I don't know enough about RDR2 modding to make this actually work.    I'm sure I'm missing some other options or something.    Anyone else got any ideas?