mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-01 09:22:40 +00:00
OpenGL2: Fix pshadows for MDR models
This commit is contained in:
parent
5bf4f26d5f
commit
71386beaac
1 changed files with 2 additions and 1 deletions
|
@ -193,7 +193,8 @@ void R_MDRAddAnimSurfaces( trRefEntity_t *ent ) {
|
||||||
|
|
||||||
header = (mdrHeader_t *) tr.currentModel->modelData;
|
header = (mdrHeader_t *) tr.currentModel->modelData;
|
||||||
|
|
||||||
personalModel = (ent->e.renderfx & RF_THIRD_PERSON) && !tr.viewParms.isPortal;
|
personalModel = (ent->e.renderfx & RF_THIRD_PERSON) && !(tr.viewParms.isPortal
|
||||||
|
|| (tr.viewParms.flags & (VPF_SHADOWMAP | VPF_DEPTHSHADOW)));
|
||||||
|
|
||||||
if ( ent->e.renderfx & RF_WRAP_FRAMES )
|
if ( ent->e.renderfx & RF_WRAP_FRAMES )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue