mirror of https://github.com/PCSX2/pcsx2.git
gsdx-hack: enable auto skip of depth texture for God of War
Rendering is quite complex to emulate on the GPU due to several limitation. Until we find a solution let's enable the old solution You could find a description of the rendering here: http://forums.pcsx2.net/Thread-God-of-War-Red-line-rendering-explained
This commit is contained in:
parent
a70c3bf5de
commit
951a1fed94
|
@ -3543,6 +3543,12 @@ bool GSC_GodOfWar(const GSFrameInfo& fi, int& skip)
|
|||
{
|
||||
skip = 1; // wall of fog
|
||||
}
|
||||
else if (fi.TME && (fi.TPSM == PSM_PSMZ32 || fi.TPSM == PSM_PSMZ24 || fi.TPSM == PSM_PSMZ16 || fi.TPSM == PSM_PSMZ16S))
|
||||
{
|
||||
// Equivalent to the UserHacks_AutoSkipDrawDepth hack but enabled by default
|
||||
// http://forums.pcsx2.net/Thread-God-of-War-Red-line-rendering-explained
|
||||
skip = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -3580,6 +3586,12 @@ bool GSC_GodOfWar2(const GSFrameInfo& fi, int& skip)
|
|||
{
|
||||
skip = 1; // water effect and water vertical lines
|
||||
}
|
||||
else if (fi.TME && (fi.TPSM == PSM_PSMZ32 || fi.TPSM == PSM_PSMZ24 || fi.TPSM == PSM_PSMZ16 || fi.TPSM == PSM_PSMZ16S))
|
||||
{
|
||||
// Equivalent to the UserHacks_AutoSkipDrawDepth hack but enabled by default
|
||||
// http://forums.pcsx2.net/Thread-God-of-War-Red-line-rendering-explained
|
||||
skip = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue