Various shader fixes and optimizations.
This commit is contained in:
parent
b269acac94
commit
d635193e19
5 changed files with 558 additions and 452 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue