Applying filter to composite of layers

Welcome, Ilya. Hopefully someone here knows the answer to your question.

FYI, this is a double post. I’m guessing that as you are new to posting there was a delay in seeing your first post on the forum. Quite understandable.