Create a new material with the Material Domain set to “Post Process”. Set it up like this:
Then use this material as a blendable in a camera component or post process volume.