Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Gamma

Signifies that values of this property are in gamma space and should not be gamma corrected.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. Use UnityEngine.Rendering.ShaderPropertyFlags instead.
Gamma = 32

Remarks

When this flag is set, colors passed into the shader will not be linearized. For more information see https://docs.unity3d.com/Manual/LinearLighting.html: