Added FDynamicColormap support to true color mode
This commit is contained in:
parent
af02bafdeb
commit
0c8c9e0aea
16 changed files with 948 additions and 468 deletions
|
|
@ -889,11 +889,11 @@ void R_SetupFrame (AActor *actor)
|
|||
BaseBlendG = GPART(newblend);
|
||||
BaseBlendB = BPART(newblend);
|
||||
BaseBlendA = APART(newblend) / 255.f;
|
||||
NormalLight.Maps = realcolormaps;
|
||||
NormalLight.Maps = realcolormaps.Maps;
|
||||
}
|
||||
else
|
||||
{
|
||||
NormalLight.Maps = realcolormaps + NUMCOLORMAPS*256*newblend;
|
||||
NormalLight.Maps = realcolormaps.Maps + NUMCOLORMAPS*256*newblend;
|
||||
BaseBlendR = BaseBlendG = BaseBlendB = 0;
|
||||
BaseBlendA = 0.f;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue