VITA/NX: Prevent muzzleflash from clipping with world
This commit is contained in:
parent
3ea40400e9
commit
2ecd4c5e04
|
@ -2132,9 +2132,14 @@ void QMB_DrawParticles (void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pt->texture == ptex_muzzleflash || pt->texture == ptex_muzzleflash2 || pt->texture == ptex_muzzleflash3)
|
||||||
|
glDepthRange (0, 0.3);
|
||||||
|
|
||||||
DRAW_PARTICLE_BILLBOARD(ptex, p, billboard);
|
DRAW_PARTICLE_BILLBOARD(ptex, p, billboard);
|
||||||
|
|
||||||
|
if (pt->texture == ptex_muzzleflash || pt->texture == ptex_muzzleflash2 || pt->texture == ptex_muzzleflash3)
|
||||||
|
glDepthRange (0, 1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue