mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 07:48:59 +00:00
fix (temporary?) for black bullet traces
This commit is contained in:
parent
a069aa57db
commit
d9c987bd8c
1 changed files with 6 additions and 0 deletions
|
@ -298,6 +298,12 @@ void CBulletTraces::Render(void)
|
||||||
if (!aTraces[i].m_bInUse)
|
if (!aTraces[i].m_bInUse)
|
||||||
continue;
|
continue;
|
||||||
RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void*)FALSE);
|
RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void*)FALSE);
|
||||||
|
#ifdef FIX_BUGS
|
||||||
|
// Raster has no transparent pixels so it relies on the raster format having alpha
|
||||||
|
// to turn on blending. librw image conversion might get rid of it right now so let's
|
||||||
|
// just force it on.
|
||||||
|
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void*)TRUE);
|
||||||
|
#endif
|
||||||
RwRenderStateSet(rwRENDERSTATESRCBLEND, (void*)rwBLENDONE);
|
RwRenderStateSet(rwRENDERSTATESRCBLEND, (void*)rwBLENDONE);
|
||||||
RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDONE);
|
RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDONE);
|
||||||
RwRenderStateSet(rwRENDERSTATETEXTURERASTER, RwTextureGetRaster(gpShadowExplosionTex));
|
RwRenderStateSet(rwRENDERSTATETEXTURERASTER, RwTextureGetRaster(gpShadowExplosionTex));
|
||||||
|
|
Loading…
Reference in a new issue