Skip to content

Commit 3f4477d

Browse files
committed
Tess_SurfacePolychain: don't skip tangents randomly
I needed this to test depth fade with /testshader
1 parent 3dcc501 commit 3f4477d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/tr_surface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ static void Tess_SurfacePolychain( srfPoly_t *p )
683683

684684
Tess_CheckOverflow( numVertexes, numIndexes );
685685

686-
if (!tess.surfaceShader->interactLight || tess.skipTangents)
686+
if ( tess.skipTangents )
687687
{
688688
// fan triangles into the tess array
689689

0 commit comments

Comments
 (0)