From 688e277e899f379e00204413343a8b6d1e589f7d Mon Sep 17 00:00:00 2001 From: aap Date: Sat, 26 Dec 2020 13:02:30 +0100 Subject: fix mblur stencil --- src/render/MBlur.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render') diff --git a/src/render/MBlur.cpp b/src/render/MBlur.cpp index 57817422..44d4f1d4 100644 --- a/src/render/MBlur.cpp +++ b/src/render/MBlur.cpp @@ -651,7 +651,7 @@ CMBlur::OverlayRenderFx(RwCamera *cam, RwRaster *frontBuf) RwD3D8SetRenderState(D3DRS_STENCILPASS, D3DSTENCILOP_REPLACE); #endif RwRenderStateSet(rwRENDERSTATESRCBLEND, (void*)rwBLENDSRCALPHA); - RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDINVSRCALPHA); + RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDONE); RwIm2DRenderIndexedPrimitive(rwPRIMTYPETRILIST, verts, 4, Index, 6); if(RwRasterGetDepth(RwCameraGetRaster(cam)) != 16){ -- cgit v1.2.3