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
(gonna keep "this is a" template through, but its gonna be used just to add the page to category (no one will see it anyway unless users visit this page with redirect disabled).)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LanguageBar}}
#redirect [[Advanced_HDR#Running_a_HDR_map]]
[[File:Source_HDR_comparison.jpg|thumb|right|Comparison between LDR, LDR with Bloom and [[HDR]] ({{code|mat_hdr_level 0/1/2}} respectively).]]
{{this is a|console variable|name=mat_hdr_enabled|engine=Source|since=Source 2007}}<!-- kept this template, so page will be added to category. Most users won't see this anyway unless redirect is disabled.-->
{{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).
 
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 ==
*[[Advanced HDR]]
[[Category:HDR]]

Latest revision as of 07:07, 30 April 2025

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