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
m (Nesciuse moved page Mat hdr enabled/en to Mat hdr enabled without leaving a redirect: Move en subpage to basepage)
(Added screenshot.)
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).]]
{{this is a|console variable|name=mat_hdr_enabled|engine=Source}}
{{this is a|console variable|name=mat_hdr_enabled|engine=Source}}



Revision as of 02:51, 16 July 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.

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