Unity Products:Amplify Shader Editor/Gamma To Linear

From Amplify Creations Wiki
Jump to: navigation, search

Back to Node List

Gamma To Linear Node

The Gamma To Linear node converts a color value in sRGB(Gamma) space to Linear 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, Gamma To Linear

Node Parameter Description Default Value
RGB Color value to be converted from sRGB(Gamma)to Linear 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 sRGB to Linear: Fast approximation from sRGB to Linear
  • Exact sRGB to Linear: A more expensive but exact calculation from sRGB to Linear
Fast sRGB to Linear


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


Back to Node List