So everyone can at least try this.......I got this fixed as of a few mins ago on 12/12/19. I was here on this forum post looking and was messing with settings.
I am running an evga rtx 2060 sc ultra 6gb through the alienware graphics amp. I just reinstalled SWBF2 a few weeks ago after 4 months or so not playing. And I have been getting this Optimizing Shaders on start up and between maps. I know dx12 makes it worse after testing, so I'm using dx11.
With that said. This seems to bee a graphics setting issue, from what I just found.
I run the game at ultra setting, no blur, no filmic, no grain and no lens distortion @1080 120refresh. (setting at the bottom)
So what I did was after the Optimizing Shader finished (which is usually less than a min, but still annoying), I got to the main screen and went to graphics, and set to default and restarted...thinking it might help. It did not, so I turned it back to Ultra, tuned off blur, filmic, chromatic, film grain. Of course there is no apply button...so I hit Reset to default again and set to Ultra and turned off those mentioned items....restarted..
And now NO optimizing shaders at the start...restarted 4 times and its gone. Just tried it again as I'm writing for 5th restart, no shader optimizing on startup at all now. Restart 6, and still gone.
I mean it's worth a try. I believe it has something to do with default and custom, something must be hanging up.
My settings for the game, starting from top of graphics men
50% brightness
fullscreen/or windowed
monitor # is user choice/default
1920x1080
119.98hz
auto dynamic range
dynamic res is greyed out but says yes
OFF dx12
vsync ON
fov 70 /user choice
blur 0
filmic effects OFF
grain OFF
lens distortion OFF
res scale 100%
Ultra quality
6 restarts and no Optimizing Shader on start up. Must be something in the Reset to Default graphics button restarting then setting to your choice.
Hope this helps someone else. This has been bugging me since reinstalled last few weeks.