Unity Products:Amplify Shader Editor/Linear To Gamma

From Amplify Creations Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Back to Node List

Linear To Gamma Node

The Linear to Gamma node converts a color value in Linear space to sRGB(Gamma) space.
Through toggling On/Off the Exact Conversion property, its outputted result can be calculated by either using an exact conversion method or using a faster but less accurate approximation.


Nodes used: Texture Sample, Linear To Gamma,

Node Parameter Description Default Value
RGB Color value to be converted from Linear to sRGB(Gamma) space. Only visible if the respective input port is not connected. 0,0,0
Mode Switch between accurate color conversion method or faster but less accurate color conversion method.
  • Fast Linear to sRGB: Fast approximation from Linear to sRGB
  • Exact Linear to sRGB: A more expensive but exact calculation from Linear to sRGB
  • Linear to Gamma 2.0: Crude approximation from Linear to Gamma using a power of 1/2.0 gamma value
  • Linear to Gamma 2.2: An approximation from Linear to Gamma using a power of 1/2.2 gamma value
Fast Linear to sRGB


Input Port Description Type
RGB Color value to be converted from Linear to sRGB(Gamma) space. Float3


Back to Node List