Shadow Flicker Fix 1.0.2

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Fixes distant shadow flickering which was most noticeable with anti-aliasing disabled.

Introduction

This mod fixes distant shadows flickering by increasing the distant shadow resolution. Most noticeable when anti-aliasing is disabled on Woods for example. Also includes options to configure some shadow-related variables.

Performance

In testing I saw a very minimal performance impact, if at all. However, if you feel like your game is running worse then consider changing the Distant Shadow Resolution option in the config. Enabling shadow changes will most likely reduce FPS by some amount depending on the config.

Preview

qkVjdtZ.gif

Installation

Just drag and drop the BepInEx folder into your SPT folder.


wByb5Ln.gif


  • Version 1.0.2

    • Added options to configure shadow resolution, decrease factor, minimum distance and intervals.
      • Some of these WILL reduce fps, so I've kept the changes disabled by default.

    :)

  • Version 1.0.1

    • Added an option to toggle SMAA
  • Version 1.0.0

  • smaa doesn't seem to do anything? I'm not using upscaling or anything. Just plain 1440p. Do I have to disable the in game taa? I've tried both and it doesn't seems to do anything. With in game taa disabled it just looks like awful jagged no antialiasing.

    • when you enable smaa it automatically disables TAA. unity's smaa is fairly subtle, i barely notice any difference with it enabled on 1080p as well. i use a combination of smaa, fxaa and cas with reshade, which isnt perfect but it does help get rid of some of the shimmering and it isnt as blurry as TAA.

  • Forgive the dumb question but I'm guessing this wont work on 3.8.x?

  • SMAA looks HORRIBLE on 1080p, btw.


    But the shadow settings literally increased my performance by about 5-10fps. I have 1080Ti.

    • are you using upscaling

  • I installed the mod but i dont see the SMAA option in graphics settings?

    • i wanted to add it to the graphics settings but... didnt for some reason. sorry about that

      its available in the f12 config menu

    • Thanks for the reply! Should i leave taa on? i turned it off and it looks super nasty.

    • thats because of upscaling

  • SMAA with 2x supersampling is a game changer. It's like putting on glasses for the first time.

    Heart 1
  • I never realised my trees were flickering that bad until I downloaded this mod. Excellent work!

    Heart 1
  • downloaded this just for the SMAA option alone, i hate TAA so much bro thank u

    Heart 1
  • Hey. This is awesome thanks. I have to try new SMAA option i guess but wanted to say original version works great. :thumbup:

    Heart 1
  • Спасибо за мод, это очень круто!

    Heart 1
  • I just tested this on my main server and all I have to say this is EXTREMELY useful. As someone who is sensitive to flicker and aliasing, this is a MASSIVE help.

    Suggestion: potentially another anti-flicker feature: SMAA is a Unity Engine staple form of anti-aliasing. Do you think that could also be added as a bepinex mod toggle? This would eliminate edge shimmer, as SMAA is very nice for distant elements. (SMAA on reshade doesn't have enough information to work with)

    Heart 1 Thumbs Up 1
    • thank you! i could look into it

      Heart 1 Thumbs Up 1
    • I just saw the SMAA update and HAD to try it immediately.

      It has a nice effect. I think this in combination with FSR3 when 3.10 comes out + some reshade fuckery may make for a 0 ghosting, sharp experience.

      Nicely done!

      Heart 1
    • Oh and if you want an additional challenge (and ofc if you wish to hear / need expansion ideas), I shit you not I dreamed about it vaguely.

      I am not sure whether this is possible / feasible, but a internal resolution slider is something BSG has refused to add. 2x SSAA (SuperSampling) and 4X give incredible performance deductions, which only sort of makes sense as they should not be THAT taxing at their respective settings.

      Allowing users to set a resolution scale to something like 125% or 150% is another way users with spare power (especially the guys on 1080P displays) could make a use of their CPU bottleneck and push that GPU to be used a little more (and clean up the near edges of the screen).

  • I'm having an issue with endless loading on launch (with the EFT splash screen). Removing the .dll seems to fix it. Install should be just the typical drag and drop bepinx into the main folder, correct?

    • i suspect it may be something else but send me your modlist and logs on discord anyway

      Thumbs Up 1
    • Is there a way to DM you on discord? I don't see the SPT discord in my list to find you

    • my disc is peinful

    • Just messaged. Had to join SPT to find ya

  • Broken link, please fix it

    • link works fine

  • i'm so numbed by this that i don't even notice it anymore but goddamn if this isn't a very welcome fix. cheers mate

    Heart 1
  • Woods is playable again :D

    Heart 1
  • Works Great!

    Heart 1
  • Godsend

    Heart 1
  • Hell yeah, can already see that this is a banger

    Heart 1
  • Turned everything on and the shadows on my scope when I walk through a forest are amazing.

    Heart 1
  • QoL Mod!!! 10/10 GreenBat lithium batteries

    Heart 1
  • Mans dropped out of the sky and started uploading banger on banger... who are you and what are your secrets :?:

    Heart 1 Happy 2 Thumbs Up 1
    • just wanted to fix some things that have been bugging me

      Heart 1
    • I always thought that it was my shitty (well, for 2024 standard) GPU not being able to handle Tarkov's awful system. I guess that the anti aliasing should just keep up with modern standards instead....

      Thumbs Up 1
  • THANK YOOOOU!!! <3

    Heart 1
    • Tested and it works, no noticeable drop in fps.
      10/10!

      Thanks again!

  • I have always hated TAA in games for making things blurry. I want a sharpness to things but always find a compromise to reduce the jaggies. I cannot do this in Tarkov and flickering of various things take my attention away from me. I've learned to deal with it now.

    Until this legend said "No more" and dropped this bombshell.
    <3

    Heart 1
    • woods was literally unplayable for me for the longest time because of this lol

  • How do i change in config distant shadow resolution?

    • F12 -> Shadow Flicker Fix -> Distant Shadow Resolution

      Thumbs Up 1
    • Thanks!

      Love this mod already, on Factory it works as well!

      Heart 1
  • I think i love you

    Heart 1 Happy 1
  • FREAKIN LEGEND, TODAY I WAS PLAYING WITH SETTINGS AND SUFFERING. OMGOMGOMG

    Heart 1