- 2D drawer implementation complete for hardware renderer.
This also replaces DTA_ColormapStyle with proper implementations of its components. As implemented it was a very awkward mixture of various effects that already existed in a separate form. As a result of its implementation it required additional but completely redundant shader support which could be removed now. As a side effect of this change a new DTA_Desaturate option was added.
This commit is contained in:
parent
077df87704
commit
a40e085a46
16 changed files with 79 additions and 97 deletions
|
|
@ -2191,6 +2191,11 @@ void AM_drawSubsectors()
|
|||
(colormap.LightColor.b + 160) / 2);
|
||||
colormap.Desaturation = 255 - (255 - colormap.Desaturation) / 4;
|
||||
}
|
||||
// make table based fog visible on the automap as well.
|
||||
if (level.flags & LEVEL_HASFADETABLE)
|
||||
{
|
||||
colormap.FadeColor = PalEntry(0, 128, 128, 128);
|
||||
}
|
||||
|
||||
// Draw the polygon.
|
||||
FTexture *pic = TexMan(maptex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue