PCSX2 - The Playstation 2 Emulator
Go to file
sudonim1@gmail.com 5f28d08286 GSDX: New interpretation of destination alpha testing to improve effect rendering as an optional hack. Known to make shadows in the persona games (and thus probably shin megami tensei) better, not sure what else it accomplishes without destroying other effects.
Now, a note about the actual issue.  Destination alpha tests can be used on the GS as one of the workarounds for a lack of stencils.  If you use a destination alpha test and leave alpha writing on, the GS will only write each pixel until you write an alpha value which would fail the test.  This works to a point in gsdx without further hacking, but that point is when within a single batch of primitives the same pixels are written multiple times and the destination alpha test is expected to update.  I did experimentally make a tight loop updating the stencil with a draw then drawing for one primitive at a time, but it was prohibitively slow (over 80% fps loss, you really don't want to know).

Destination alpha testing cannot be directly implemented in D3D9 or D3D10, but (probably) can in D3D11 (with a speed hit for sure, but I doubt it'll be 80%).  I'll be getting a new graphics card and looking into that.

And before some idiot says it, the answer is no.  OpenGL does not help.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5346 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-07-24 02:20:07 +00:00
3rdparty Fix SPU2-X linking issues (I sincerely hope). 2012-06-19 03:09:59 +00:00
bin 1.0.0 & trunk: add new language th_TH 2012-07-11 19:48:37 +00:00
cmake zzogl: rework dump test, to avoid bad mix between u32/u8 2012-05-27 08:13:27 +00:00
common Handle exceptions raised inside the access violation exception filter which we use for various emulation tasks. 2012-04-07 15:35:53 +00:00
debian-unstable-upstream debian: don't ship null plugins 2012-06-02 08:01:04 +00:00
fps2bios Removed all trailing whitespace in *.c *.cpp *.h because it irritates me. 2010-04-25 00:31:27 +00:00
linux_various zzogl: 2012-06-08 18:14:47 +00:00
locales 1.0.0 & trunk: add new language th_TH 2012-07-11 19:48:37 +00:00
nsis A couple installer fixes. 2012-07-03 10:30:26 +00:00
pcsx2 Path3 Masking: Optimization got missed during r5277 revert. Outrun, GTA:SA, Burnout 2 and others all speed boosted again ;p 2012-06-25 20:55:31 +00:00
plugins GSDX: New interpretation of destination alpha testing to improve effect rendering as an optional hack. Known to make shadows in the persona games (and thus probably shin megami tensei) better, not sure what else it accomplishes without destroying other effects. 2012-07-24 02:20:07 +00:00
tools GSdx: CRC hacks: "Aggressive" mode (and related stuff). 2012-05-23 06:38:37 +00:00
CMakeLists.txt cmake: apply some updated pathes of Micove 2012-05-07 16:29:06 +00:00
COPYING.GPLv2 copyright again: 2012-04-18 14:09:18 +00:00
COPYING.GPLv3 copyright again: 2012-04-18 14:09:18 +00:00
COPYING.LGPLv2.1 copyright again: 2012-04-18 14:09:18 +00:00
COPYING.LGPLv3 copyright again: 2012-04-18 14:09:18 +00:00
build.sh debian: don't ship null plugins 2012-06-02 08:01:04 +00:00
clean_msvc.cmd Minor fixes to selecting isos and changing cdvd source types. 2010-04-27 16:20:49 +00:00
pcsx2-codeblocks.workspace zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
pcsx2_suite_2008.sln zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
pcsx2_suite_2010.sln zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
rebuild.sh copyright again: 2012-04-18 14:09:18 +00:00