sRGB

From Valve Developer Community
Revision as of 17:55, 25 November 2024 by Grande1900 (talk | contribs)
Jump to navigation Jump to search
Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024



sRGB is a standardized color space for use with monitors, printers, and the internet. It is supported by OpenGL and Direct3D.

Source

Xbox 360 vs. PC colour space comparison

The r_shader_srgb ConVar determines whether sRGB conversion is done through hardware or through software.

Note.pngNote:The Xbox 360 Xbox 360 always uses hardware conversion.
  • -1: Use hardware cap[Clarify]
  • 0: Use hardware sRGB conversion (Default)
  • 1: Use software sRGB conversion

There is also a fallback shader (srgb) that can be used in VMTs to detect whether or not conversion is actually being done through hardware.

See Also