- added a new light mode that emulates Build's depth fading.
Not active yet, this needs some testing and finetuning.
This commit is contained in:
parent
9e51a2f63c
commit
5896f24eba
5 changed files with 26 additions and 5 deletions
|
|
@ -314,12 +314,22 @@ public:
|
|||
|
||||
bool isSoftwareLighting() const
|
||||
{
|
||||
return lightmode >= ELightMode::ZDoomSoftware;
|
||||
return lightmode == ELightMode::ZDoomSoftware || lightmode == ELightMode::DoomSoftware || lightmode == ELightMode::Build;
|
||||
}
|
||||
|
||||
bool isBuildSoftwareLighting() const
|
||||
{
|
||||
return lightmode == ELightMode::Build;
|
||||
}
|
||||
|
||||
bool isDoomSoftwareLighting() const
|
||||
{
|
||||
return lightmode == ELightMode::ZDoomSoftware || lightmode == ELightMode::DoomSoftware;
|
||||
}
|
||||
|
||||
bool isDarkLightMode() const
|
||||
{
|
||||
return !!((int)lightmode & (int)ELightMode::Doom);
|
||||
return lightmode == ELightMode::Doom || lightmode == ELightMode::DoomDark;
|
||||
}
|
||||
|
||||
void SetFallbackLightMode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue