So I'm a bit confused on DOF. Can you explain how to shift the focus so it's only applied to the background? It always just blurs the whole screen. Also, when I have DOF off, at certain camera angles the screen is blurred when I don't want it to be. It's not reshade or anything, it's the game when the camera is at eye-level. I can't figure out how to clarify it.
I’ll take the second problem first: the game has its own rudimentary type of DoF. It’s not great, but it’s there to hide the flat, low detail textures of the backdrops. There are mods that will let you turn it off, or you can turn it off yourself (which is what I do).
Go into your Bin folder, and open up graphicsrules.sgr in a text editor (preferably one that makes it easy to ready stuff -- I use Notepad++).
Press ctrl+f in Notepad++ (I’m guessing most editors have a similar search function) and type in DofEnabled and press Find Next.
It will take you to a section that begins ‘option LightingQuality’, with sub-sections for each level of graphics quality (Low, Medium, High, Very High). Find the sub-section that corresponds to the quality you have set in the game. You’ll see a line that says ‘prop $ConfigGroup DofEnabled true’ -- change the true to false and save.
If you’re not sure which sub-section is the right one, change #prop $ConfigGroup DofEnabled true’ to false in all of them.
Fun fact: a few lines above that is ‘prop $ConfigGroup SsaoEnabled true’. This is what you edit to get rid of the game’s atrocious ambient occlusion (their very bad version of mxao). If you set this line to false it will get rid of their bad ao, but it will also disable DoF, so you don’t have to change the DofEnabled line as well. I only turn off the Ssao line and it switches off them both. Two birds, one stone.
---
Back to the first question: I’m going to assume you have the depth buffer set up correctly. So we need to look at your focusing method in the DoF shader.
A lot of people tick the auto-focus and mouse-driven auto-focus boxes, because it makes it easy to focus. With these two options checked, wherever you point your mouse will be in focus, and everything behind it will start to become blurred. I don’t use that method because it doesn’t work with SRWE (if you don’t know what SRWE is don’t worry about this, it doesn’t apply to your question) so I don’t have it set up like that. I left it set up with manual focus.
If you want to continue using manual focus, the settings you need to control where the focus lies are primarily the manual focus depth and near and far blur curves.
The manual focus depth is where the focus should be. So, imagine you standing with a camera, you’re at 0.000. Look into the far distance and imagine the sky is a big cardboard backdrop way back there: that’s 1.000. Everything in between falls somewhere along the distance between 0.000 and 1.000. If you want to have the sharpest focus be on a tree that is approximately 20% of the way in front of you, you would want to set the manual focus depth as 0.200.
Most of the close portraits I take have the manual depth set at around 0.020-0.040.
Near blur curve and far blur curve determine how softly or sharply the blur starts in front of and behind your focus point. Higher numbers mean the blur starts much more softly and further away from the focus point. Smaller numbers mean the blur starts much more sharply (or abruptly) and closer to the focus point.
I leave near blur curve set at its maximum because I don’t think the regular DoF shader handles near blur very well (near blur means blur in between you and your focus point). If you want good near blur look at the Cinematic DoF shader instead.
I generally leave far blur curve set at its default, but for some wide landscape shots where I just want a gentle blur in the distance I will increase it so there isn’t an obvious line where the blur begins. Far blur is the blur that falls behind your focus point, in between it and the backdrop.
You can still use near and far blur curve if you use auto-focus, but if you use manual focus you’ll probably find yourself playing with them a little bit more.















