mirror of https://github.com/PCSX2/pcsx2.git
a3efc77255
ICO uses a depth of field effect for the fog. Depth is extracted into the alpha channel of a texture. And then used as blending factor. You need a 1:1 texture/pixel mapping otherwise you will line at boundaries. In order to extract the DoF, ICO moves the depth buffer around the GS memory. Memory moves are implemented in the not-scaled world. It means that we can't have the above 1:1 ratio. And we don't know anymore that data are coming from the current depth buffer. The solution: I reused an HLE channel shader to read the depth buffer directly. This way I have the guarantee that pixel/depth are aligned. Close #1816 |
||
---|---|---|
.. | ||
CDVDnull | ||
CDVDpeops | ||
FWnull | ||
GSdx | ||
GSdx_legacy | ||
GSnull | ||
LilyPad | ||
PadNull | ||
PeopsSPU2 | ||
SPU2null | ||
SSSPSXPAD | ||
USBnull | ||
USBqemu | ||
cdvdGigaherz/src | ||
dev9ghzdrk | ||
dev9null | ||
onepad | ||
spu2-x | ||
xpad | ||
zerogs | ||
zerospu2 | ||
zzogl-pg/opengl | ||
CMakeLists.txt |