- added the flat dispatcher for textured lighting.
This commit is contained in:
parent
ec7b4b1ba4
commit
4412f99b38
3 changed files with 32 additions and 0 deletions
|
|
@ -463,6 +463,10 @@ inline void GLFlat::PutFlat(bool fog)
|
|||
{
|
||||
Colormap.Clear();
|
||||
}
|
||||
if (gl.lightmethod == LM_SOFTWARE)
|
||||
{
|
||||
if (PutFlatCompat(fog)) return;
|
||||
}
|
||||
if (renderstyle!=STYLE_Translucent || alpha < 1.f - FLT_EPSILON || fog || gltexture == NULL)
|
||||
{
|
||||
// translucent 3D floors go into the regular translucent list, translucent portals go into the translucent border list.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue