Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

Is there a way to modify the LiftGammaGain via code?

Discussion in 'General Graphics' started by faolad, Jan 26, 2021.

  1. faolad

    faolad

    Joined:
    Jan 27, 2013
    Posts:
    118
    Using this aint working:

    Code (CSharp):
    1.  LiftGammaGain liftGammaGain;
    2.                 if (volume.profile.TryGetSettings(out liftGammaGain))
    3.                 {
    4.                     liftGammaGain.gamma=new value;
    5.                 }
     
unityunity