How to change glow intensity over time/via a script?

Hi,

I want to know how I can change an object’s glow/bloom intensity through a script. I’ve seen this video and recreated the glow effect itself with the post processing; I’m not using URP/HDRP (just like in the video).

But is there a way to change the object’s glow intensity by, say, +0.05 every second until it reaches 0.4? Thanks!

https://docs.unity3d.com/Packages/com.unity.postprocessing@3.0/manual/Manipulating-the-Stack.html

This page suggests using DOTween to perform the transition, but you can do the same yourself on every Update() with a call to Lerp to decide your bloom intensity value.

Use a shader that supports emission, then set the emission value via script to change over time using Lerp(). Quite simple, and that way you will only change that particular object’s bloom, not the whole screen.