unity apply bloom of a different color

109

unity apply bloom of a different color -

    Bloom bloom = postProcessVolume.profile.GetSetting<UnityEngine.Rendering.PostProcessing.Bloom>();
    var colorParameter = new UnityEngine.Rendering.PostProcessing.ColorParameter();
    colorParameter.value = Color.red;     //Or insert any other color
    bloom.color.Override(colorParameter);

Comments

Submit
0 Comments