SRGB: Difference between revisions
Jump to navigation
Jump to search
Note:The
Xbox 360 always uses hardware conversion.
Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: [[Image: → [[File:, added orphan, underlinked tags) |
Grande1900 (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
{{DISPLAYTITLE:sRGB}} | {{DISPLAYTITLE:sRGB}} | ||
'''sRGB''' is a standardized color space for use with monitors, printers, and the internet. | |||
It is supported by [[OpenGL]] and [[Direct3D]]. | |||
== Source == | |||
[[File:SRGB-compare.jpg|right|Xbox 360 vs. PC colour space comparison]] | [[File:SRGB-compare.jpg|right|Xbox 360 vs. PC colour space comparison]] | ||
The {{mono|r_shader_srgb}} [[ConVar]] determines whether sRGB conversion is done through hardware or through software. {{Note|The {{360|2}} always uses hardware conversion.}} | |||
* -1: Use hardware cap{{clarify}} | |||
* 0: Use hardware sRGB conversion (Default) | |||
* 1: Use software sRGB conversion | |||
There is also a [[Material_optimization#Conditional_Fallbacks|fallback shader]] ({{mono|srgb}}) that can be used in [[VMT]]s to detect whether or not conversion is actually being done through hardware. | |||
== See Also == | |||
* {{WP|sRGB}} | |||
[[Category:Glossary]] | [[Category:Glossary]] |
Revision as of 17:55, 25 November 2024

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)

This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024

This article is an orphan, meaning that few or no articles link to it.
You can help by
adding links to this article from other relevant articles.
January 2024
You can help by

January 2024
sRGB is a standardized color space for use with monitors, printers, and the internet. It is supported by OpenGL and Direct3D.
Source
The r_shader_srgb ConVar determines whether sRGB conversion is done through hardware or through software.


- -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.