mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 06:29:59 +00:00
Dual pass rendering for RW 3.3
This commit is contained in:
parent
581cb5edfa
commit
6b92e9e12b
4 changed files with 23 additions and 8 deletions
|
@ -11,7 +11,11 @@
|
|||
RtCharset *debugCharset;
|
||||
#endif
|
||||
|
||||
bool gPS2alphaTest = 1;
|
||||
#ifdef DUAL_PASS_RENDERING
|
||||
bool gPS2alphaTest = true;
|
||||
#else
|
||||
bool gPS2alphaTest = false;
|
||||
#endif
|
||||
|
||||
#ifndef FINAL
|
||||
static bool charsetOpen;
|
||||
|
@ -644,4 +648,4 @@ RestoreAlphaTest()
|
|||
RwD3D8SetRenderState(D3DRS_ALPHAREF, saved_alpharef);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#define WITHD3D
|
||||
#include "common.h"
|
||||
#include "rwcore.h"
|
||||
#include "rpmatfx.h"
|
||||
|
||||
struct MatFXNothing { int pad[5]; int effect; };
|
||||
|
@ -305,7 +304,8 @@ ReplaceMatFxCallback()
|
|||
{
|
||||
RxD3D8AllInOneSetRenderCallBack(
|
||||
RxPipelineFindNodeByName(RpMatFXGetD3D8Pipeline(rpMATFXD3D8ATOMICPIPELINE), RxNodeDefinitionGetD3D8AtomicAllInOne()->name, nil, nil),
|
||||
_rwD3D8AtomicMatFXRenderCallback);
|
||||
_rwD3D8AtomicMatFXRenderCallback);
|
||||
|
||||
}
|
||||
#endif // PS2_MATFX
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue