EmuNewz Network
New pcsx2 revision 5860 - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: Emunewz General Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=75)
+--- Forum: Builds/Releases (https://www.emunewz.net/forum/forumdisplay.php?fid=77)
+--- Thread: New pcsx2 revision 5860 (/showthread.php?tid=157220)



New pcsx2 revision 5860 - Live Downloads - 02-01-2014

The revision 5860 of the emulator pcsx2 was released and built. Here are the download links:
windows-x86-32: http://rapidgator.net/file/f953cd402ae4b8d6f86d82e392116c86/pcsx2-r5860-windows-x86-32.zip.html

Code:
gsdx ogl: correct most of Z-depth issue

Best setting if you driver support GL_NV_depth_buffer_float => GL_NV_Depth = 1 & logz = 0
Otherwise => GL_NV_Depth = 0 & logz = 1

Explanation of the bug:
Dx z position ranges from 0.0f to 1.0f (FS ranges 0.0f to 1.0f)
GL z Position ranges from -1.0f to 1.0f (FS ranges 0.0f to 1.0f)

Why it sucks:
GS small depth value will be "mapped" to -1.0f. In others all small values will be 1.0f! Terrible lost
of accuraccy.

The GL_NV_depth_buffer_float extension allow to set the near plane as -1.0f.
So
"GL z Position ranges from -1.0f to 1.0f (FS ranges 0.0f to 1.0f)"
will become
"GL z Position ranges from -1.0f to 1.0f (FS ranges -1.0f to 1.0f)"
and therefore
"z posision [0.0f;1.0f] will map to FS [0.0f;1.0f]" as DX

Yes we just get back all precision lost previously :)
However you need hardware (intel?) and driver support (free driver?/gles?) :(
check out the Live Downloads section for more builds