diff options
Diffstat (limited to 'src/rend2/tr_shader.c')
-rw-r--r-- | src/rend2/tr_shader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rend2/tr_shader.c b/src/rend2/tr_shader.c index 59cba8fa..d66b5408 100644 --- a/src/rend2/tr_shader.c +++ b/src/rend2/tr_shader.c @@ -2234,9 +2234,9 @@ static void CollapseStagesToLightall(shaderStage_t *diffuse, } } - if (environment) + if (environment || diffuse->bundle[0].numTexMods) { - defs |= LIGHTDEF_TCGEN_ENVIRONMENT; + defs |= LIGHTDEF_USE_TCGEN_AND_TCMOD; } //ri.Printf(PRINT_ALL, ".\n"); |