Various shader fixes and optimizations.
This commit is contained in:
1 parent
b269acac94
commit
d635193e19
5 files changed
+558
-452
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user