This article's documentation is for anything that uses the Source engine. Click here for more information.

Mat hdr enabled: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Shouldn't this page be called something else then? We have mat_hdr_enable, mat_hdr_level, and mat_hdr_enabled which is for checking if we have HDR lighting.)
Line 3: Line 3:
{{this is a|console variable|name=mat_hdr_enabled|engine=Source|since=Source 2007}}
{{this is a|console variable|name=mat_hdr_enabled|engine=Source|since=Source 2007}}


This command is used to enable or disable [[HDR]] lighting. This command is not available in {{l4dbranch|4}} or above (except in {{p2|4}}, despite all Portal 2 maps are not compiled with LDR lighting).
This command is used to enable or disable [[HDR]] lighting prior to {{src07|4}}. This command exists, but is not usable in the {{l4dbranch|4}} onward (except in {{p2|4}}, despite no Portal 2 maps being compiled with LDR lighting).


If set to 0, disable HDR completely.  
If set to 0, disable HDR completely.  

Revision as of 00:47, 3 October 2024

English (en)Translate (Translate)
Comparison between LDR, LDR with Bloom and HDR (mat_hdr_level 0/1/2 respectively).

mat_hdr_enabled is a console variable available in all Source Source games since Source 2007 Source 2007.

This command is used to enable or disable HDR lighting prior to Source 2007 Source 2007. This command exists, but is not usable in the Left 4 Dead engine branch Left 4 Dead engine branch onward (except in Portal 2 Portal 2, despite no Portal 2 maps being compiled with LDR lighting).

If set to 0, disable HDR completely.

If set to 1, LDR (SDR) with Bloom is enabled.

If set to 2, HDR is enabled.

See also