-
Grab average color of layer to determine the color for another effect?
Basically I want to create some false lighting for a keyed layer I am working on. I have a window in a house keyed and have multiple clips playing behind the window, but I want the highlights on the edge of the window to change color with the footage outside of the window.
I guess I am imagining I would somehow average the colors from the footage on the bottom layer, then add an effect (For example using something as simple as “photo filter” or “tint”) which is grabbing that color information and using it to color the top layer.
If there is no easy way of averaging the colors through expressions, I know I could always just blur it on a hidden layer or something.
I am a beginner with expressions, but I am sure you could do this with one right?
What might be the best way to do something like this?