mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-05-30 16:31:10 +00:00
Fixed last commit ...
This commit is contained in:
parent
605944924a
commit
c5bfbf5457
2 changed files with 5 additions and 5 deletions
|
@ -2140,13 +2140,13 @@ void idRenderBackend::AmbientPass( const drawSurf_t* const* drawSurfs, int numDr
|
|||
idVec4 ambientColor;
|
||||
float ambientBoost = 1.0f;
|
||||
|
||||
if( !r_useIBL.GetBool() )
|
||||
if( !r_usePBR.GetBool() )
|
||||
{
|
||||
ambientBoost += r_useSSAO.GetBool() ? 0.2f : 0.0f;
|
||||
ambientBoost *= r_useHDR.GetBool() ? 1.1f : 1.0f;
|
||||
}
|
||||
|
||||
bool useIBL = r_useIBL.GetBool() && !fillGbuffer;
|
||||
bool useIBL = r_usePBR.GetBool() && !fillGbuffer;
|
||||
|
||||
ambientColor.x = r_forceAmbient.GetFloat() * ambientBoost;
|
||||
ambientColor.y = r_forceAmbient.GetFloat() * ambientBoost;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue