mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
OpenGL2: Fix fog color.
This commit is contained in:
parent
ad819edcc4
commit
863adfcfc2
1 changed files with 3 additions and 3 deletions
|
@ -2556,9 +2556,9 @@ static void R_LoadFogs( lump_t *l, lump_t *brushesLump, lump_t *sidesLump ) {
|
|||
|
||||
out->parms = shader->fogParms;
|
||||
|
||||
out->colorInt = ColorBytes4 ( shader->fogParms.color[0] * tr.identityLight,
|
||||
shader->fogParms.color[1] * tr.identityLight,
|
||||
shader->fogParms.color[2] * tr.identityLight, 1.0 );
|
||||
out->colorInt = ColorBytes4 ( shader->fogParms.color[0],
|
||||
shader->fogParms.color[1],
|
||||
shader->fogParms.color[2], 1.0 );
|
||||
|
||||
d = shader->fogParms.depthForOpaque < 1 ? 1 : shader->fogParms.depthForOpaque;
|
||||
out->tcScale = 1.0f / ( d * 8 );
|
||||
|
|
Loading…
Reference in a new issue