We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de6c5d7 commit 32b7859Copy full SHA for 32b7859
src/engine/renderer/tr_shader.cpp
@@ -5171,6 +5171,14 @@ static void FinishStages()
5171
bool shaderHasNoLight = true;
5172
bool lightStageFound = false;
5173
5174
+ /* Skip standalone lightmaps, they are assumed to be buggy,
5175
+ see: https://github.com/DaemonEngine/Daemon/issues/322 */
5176
+ if ( numStages == 1 && stages[ 0 ].type == stageType_t::ST_LIGHTMAP )
5177
+ {
5178
+ stages[ 0 ].active = false;
5179
+ numStages = 0;
5180
+ }
5181
+
5182
for ( size_t s = 0; s < numStages; s++ )
5183
{
5184
shaderStage_t *stage = &stages[ s ];
0 commit comments