diff --git a/src/engine/renderer/tr_shader.cpp b/src/engine/renderer/tr_shader.cpp index f1b86c960e..3537b87716 100644 --- a/src/engine/renderer/tr_shader.cpp +++ b/src/engine/renderer/tr_shader.cpp @@ -5170,6 +5170,14 @@ static void FinishStages() { bool lightStageFound = false; + /* Skip standalone lightmaps, they are assumed to be buggy, + see: https://github.com/DaemonEngine/Daemon/issues/322 */ + if ( numStages == 1 && stages[ 0 ].type == stageType_t::ST_LIGHTMAP ) + { + stages[ 0 ].active = false; + numStages = 0; + } + for ( size_t s = 0; s < numStages; s++ ) { shaderStage_t *stage = &stages[ s ];