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
(Added screenshot.)
No edit summary
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
[[File:Source_HDR_comparison.jpg|thumb|right|Comparison between LDR, LDR with Bloom and [[HDR]] ({{code|mat_hdr_level 0/1/2}} respectively).]]
[[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}}
{{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. 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).

Revision as of 09:26, 30 September 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. This command is not available in Left 4 Dead engine branch Left 4 Dead engine branch or above (except in Portal 2 Portal 2, 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