Hi, can you explain me how to change the post processing from script, bloom and grain thx.

(i’m not good in English sorry).

You need access to the namespace using UnityEngine.Rendering.PostProcessing;. After installing the post processing package, add this namespace at the top of your script.

Then, you need reference to your PostProcessVolume component. Just create a public PostProcessVolume volume; field in your script and drag in your post process volume from the editor.

Finally, to change your bloom at runtime, write:

void ChangeSettings()
     // Gets the bloom settings
     volume.profile.TryGetSettings(out Bloom bloom);
     // Change bloom intensity
     bloom.intensity.value = 5f;

The same works for ColorGrading, Grain, etc.