Skip to content
Permalink
Browse files

R2: disable per stage fogging call in Tess_stageIteratorGeneric

gl fog doesnt work anyhow
  • Loading branch information
thunderpwn committed Dec 1, 2019
1 parent c044a80 commit 87d0d6b20fc69b5aead2d6f93c65d8a6b83cdc3f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/renderer2/tr_shade.c
@@ -3146,7 +3146,7 @@ void Tess_StageIteratorGeneric()
continue;
}

// per stage fogging (detail textures)
/* per stage fogging (detail textures)
if (tess.surfaceShader->noFog && pStage->isFogged)
{
RB_FogOn();
@@ -3159,7 +3159,7 @@ void Tess_StageIteratorGeneric()
{
// make sure it's on
RB_FogOn();
}
}*/

Tess_ComputeColor(pStage);
Tess_ComputeTexMatrices(pStage);

0 comments on commit 87d0d6b

Please sign in to comment.
You can’t perform that action at this time.