Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MaterialProperty.PropFlags.Gamma

Description

Signifies that values of this property are in gamma space and should not be gamma corrected.

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:

Did you find this page useful? Please give it a rating: