Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LinearToGammaSpace(float)

Converts the given value from linear to gamma (sRGB) color space.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static float LinearToGammaSpace(float value)

Parameters

value

Returns

Type

Description

float

Remarks

Additional Resources: Linear and Gamma rendering, ColorSpace, Mathf.GammaToLinearSpace.