Garry's Mod Wiki

render.SupportsHDR

  boolean render.SupportsHDR()

Description

Returns whether the player's hardware supports HDR. (High Dynamic Range) HDR can still be disabled by the mat_hdr_level console variable or just not be supported by the map.

Returns

1 boolean
true if the player's hardware supports HDR.