mirror of https://github.com/ioquake/ioq3.git
OpenGL2: Restore adding fixed ambient light when HDR is enabled
Use opengl1 renderer behavior of adding fixed amount of ambient light to all models regardless of HDR setting. It fixes the view weapon having zero ambient light on pillcity map.
This commit is contained in:
parent
bfb6ef590b
commit
7c2dd01873
|
@ -356,7 +356,7 @@ void R_SetupEntityLighting( const trRefdef_t *refdef, trRefEntity_t *ent ) {
|
|||
}
|
||||
|
||||
// bonus items and view weapons have a fixed minimum add
|
||||
if ( !r_hdr->integer /* ent->e.renderfx & RF_MINLIGHT */ ) {
|
||||
if ( 1 /* ent->e.renderfx & RF_MINLIGHT */ ) {
|
||||
// give everything a minimum light add
|
||||
ent->ambientLight[0] += tr.identityLight * 32;
|
||||
ent->ambientLight[1] += tr.identityLight * 32;
|
||||
|
|
Loading…
Reference in New Issue