mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- activate the texture layers if needed.
This commit is contained in:
parent
00f1043047
commit
82eb807090
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ bool GLInstance::SetTexture(int picnum, FGameTexture* tex, int paletteid, int me
|
|||
if (TextureType == TT_INDEXED) renderState.Flags |= RF_UsePalette;
|
||||
else renderState.Flags &= ~RF_UsePalette;
|
||||
GLInterface.SetAlphaThreshold(tex->alphaThreshold);
|
||||
UseBrightmaps(tex->GetBrightmap() != nullptr);
|
||||
UseGlowMapping(tex->GetGlowmap() != nullptr);
|
||||
UseDetailMapping(tex->GetDetailmap() != nullptr);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue