Tutorial for picking the correct depth of field buffer?

More
2 months 1 day ago - 2 months 1 day ago #1 by Kalid
Hi everyone, I'm new around here.

I have been trying for days to make reshade to pick automatically the correct buffer, but no luck so far, and I don't know how to modify the "DepthCopyAtClearIndex", "DepthCopyBeforeClears", and the 5 "DX11_BUFFER_DETECTION" options. I have tried to set values at random, by trial and error, since *I don't know what each one does*, and nothing.

I have the game set to a resolution of 1280x1024, but it seems the internal resolution is 1280x720, and while you are in a menu it uses a buffer with 1024, and ingame uses a different one (always the 3rd one), that is 720, and sometimes another one of 4096x4096 (this one is an aerial view to which you don't have access in the game).

File Attachment:
Last edit: 2 months 1 day ago by Kalid.

Please Log in or Create an account to join the conversation.

More
1 month 4 weeks ago #2 by crosire
Untick "Use aspect ratio heuristics" and it will pick the right one. This is necessary in games where render resolution != display resolution, hence the option.

Please Log in or Create an account to join the conversation.

More
1 month 4 weeks ago #3 by Kalid
Thanks for your reply. If I untick heuristics, it sometimes picks the 4096 buffer, as I have mentioned (that is used for some shadows). The solution would be making it to ignore that buffer, and yes, unticking heuristics. The problem is I don't know how to make it to ignore/hide it.

Right now I'm simply picking manually the ingame buffer, but as you can guess, I have to do it every time I launch the game, and shows artifacts in the menu.

Please Log in or Create an account to join the conversation.

More
1 month 2 weeks ago #4 by Kalid
Seeing I won't get any help, I have decided to simply make my own custom build of reshade. I prefered to learn to use that in the official one but well... I guess I was asking for too much.

Thanks again, Crosire, for replying, and for providing us the source code.

Please Log in or Create an account to join the conversation.