mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
engine: fix hdr to ldr conversion
This commit is contained in:
@@ -1491,7 +1491,7 @@ void CDetailObjectSystem::LevelInitPreEntity()
|
||||
}
|
||||
|
||||
int detailPropLightingLump;
|
||||
if( g_pMaterialSystemHardwareConfig->GetHDRType() != HDR_TYPE_NONE )
|
||||
if( g_pMaterialSystemHardwareConfig->GetHDREnabled() )
|
||||
{
|
||||
detailPropLightingLump = GAMELUMP_DETAIL_PROP_LIGHTING_HDR;
|
||||
}
|
||||
|
||||
@@ -1460,7 +1460,7 @@ static float GetBloomAmount( void )
|
||||
|
||||
if ( hdrType == HDR_TYPE_NONE )
|
||||
{
|
||||
flBloomAmount *= mat_non_hdr_bloom_scalefactor.GetFloat();
|
||||
flBloomAmount *= mat_non_hdr_bloom_scalefactor.GetFloat()/2.f;
|
||||
}
|
||||
|
||||
flBloomAmount *= mat_bloom_scalefactor_scalar.GetFloat();
|
||||
|
||||
Reference in New Issue
Block a user