1
0
Fork 0
forked from fte/fteqw

HL2: comment out seemingly undesired normal negation

This commit is contained in:
Marco Cawthorne 2024-11-21 22:44:53 -08:00
parent a0d3a3ba2c
commit 6e57500c15

View file

@ -1950,9 +1950,9 @@ static void VBSP_BuildSurfMesh(model_t *mod, msurface_t *surf, builddata_t *bd)
} }
//figure out the texture directions, for bumpmapping and stuff //figure out the texture directions, for bumpmapping and stuff
if (surf->flags & SURF_PLANEBACK) // if (surf->flags & SURF_PLANEBACK)
VectorNegate(surf->plane->normal, mesh->normals_array[i]); // VectorNegate(surf->plane->normal, mesh->normals_array[i]);
else // else
VectorCopy(surf->plane->normal, mesh->normals_array[i]); VectorCopy(surf->plane->normal, mesh->normals_array[i]);
VectorCopy(surf->texinfo->vecs[0], mesh->snormals_array[i]); VectorCopy(surf->texinfo->vecs[0], mesh->snormals_array[i]);
VectorNegate(surf->texinfo->vecs[1], mesh->tnormals_array[i]); VectorNegate(surf->texinfo->vecs[1], mesh->tnormals_array[i]);