Today I tried some of the depth post processing shaders (SSAO and DOF) from Ishiiruka and was quite amazed to see how good they looked.
This made me wonder why these effects aren't in Dolphin, I found this answer from MayImilae: https://forums.dolphin-emu.org/Thread-po...#pid479532
With not every game exposing depth information, I understand that it's not optimal but it won't break post processing shaders using depth, it just won't do anything.
And while I'm not sure, I think exposing the depth information to the post processing shader won't harm anything while enabling post processing shader using depth.
Besides that, with the amazing work of Stenzek with the videocommon rewrite, it would probably be way easier to implement.
The only thing required (Beside exposing depth information) is being able to apply post processing not to just the scan-out. Stenzek said in his videocommon pull request he was working on being able to apply Post-processing of XFB copies, but was put-off because of all the duplication and that that would be easier with videocommon in place.
I was wondering what other people have to say about this, I think it would be a great addition.
This made me wonder why these effects aren't in Dolphin, I found this answer from MayImilae: https://forums.dolphin-emu.org/Thread-po...#pid479532
With not every game exposing depth information, I understand that it's not optimal but it won't break post processing shaders using depth, it just won't do anything.
And while I'm not sure, I think exposing the depth information to the post processing shader won't harm anything while enabling post processing shader using depth.
Besides that, with the amazing work of Stenzek with the videocommon rewrite, it would probably be way easier to implement.
The only thing required (Beside exposing depth information) is being able to apply post processing not to just the scan-out. Stenzek said in his videocommon pull request he was working on being able to apply Post-processing of XFB copies, but was put-off because of all the duplication and that that would be easier with videocommon in place.
I was wondering what other people have to say about this, I think it would be a great addition.