Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

TransferFunction.sRGB

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

sRGB transfer function, commonly used for Standard Dynamic Range (SDR) displays.

The sRGB transfer function is a piece-wise function that includes a linear segment near zero to handle low-intensity values smoothly, and a power-law segment for the remaining parts of the curve, to align with human visual perception.
Both its inputs and outputs are normalized to [0, 1], similar to TransferFunction.BT1886 and TransferFunction.Gamma22 EOTFs.

Unity uses this EOTF when the ColorGamut of the display is ColorGamut.sRGB or ColorGamut.DisplayP3.