- Fixed: Sprites and decals that are drawn with addition must fade to black.
SVN r1952 (trunk)
This commit is contained in:
parent
321ab2f686
commit
4252cd52ad
3 changed files with 19 additions and 7 deletions
|
|
@ -1432,6 +1432,12 @@ void R_ProjectSprite (AActor *thing, int fakeside)
|
|||
|
||||
FDynamicColormap *mybasecolormap = basecolormap;
|
||||
|
||||
// Sprites that are added to the scene must fade to black.
|
||||
if (vis->RenderStyle.BlendOp == STYLEOP_Add && mybasecolormap->Fade != 0)
|
||||
{
|
||||
mybasecolormap = GetSpecialLights(mybasecolormap->Color, 0, mybasecolormap->Desaturate);
|
||||
}
|
||||
|
||||
if (vis->RenderStyle.Flags & STYLEF_FadeToBlack)
|
||||
{
|
||||
if (invertcolormap)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue