- added automatic brightmaps.

Everything in the brightmaps/auto directory will automatically be assigned to the same-named texture.
This commit is contained in:
Christoph Oelckers 2017-03-29 23:13:11 +02:00
commit bde73fc530
2 changed files with 31 additions and 0 deletions

View file

@ -69,6 +69,7 @@ CUSTOM_CVAR(Bool, gl_notexturefill, false, 0)
void gl_CreateSections();
void AddAutoBrightmaps();
//-----------------------------------------------------------------------------
//
@ -364,6 +365,7 @@ void gl_RecalcVertexHeights(vertex_t * v)
void gl_InitData()
{
AdjustSpriteOffsets();
AddAutoBrightmaps();
}
//==========================================================================