Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects ITV TV channel bumper auto colour change

  • Andy Kiernan

    May 25, 2022 at 3:19 pm

    I think what you want is the ‘sample image’ expression. Sample the BG in a few places and link that data to some fills

  • Andy Kiernan

    May 25, 2022 at 3:29 pm

    to expand, effects and presets, search for sample image expression, apply to BG layer, then link sampled colour output to your text fill and the centre to your text position

  • Deepak Pillay

    May 25, 2022 at 9:40 pm

    Thank you for your help 🙂 I tried what you said but no luck. I’m not too advanced with after effects. Would you mind giving me a step by step please?

    Aso, I don’t have text layers. I have 5 individual shape layers with fill colour on each one.

    I then have a video background of which I want each shape layer to sample colours from as the video is moving. So the shape layers colours will change based on what part of the video is behind it.

    Happy to provide a screenshot of anything if you need it.

    Thank you again

  • Chris Voelz

    May 25, 2022 at 9:49 pm

    This is how sampleImage works. http://www.motionscript.com/design-guide/sample-image.html

    Apply the sampleImage expression to the color of your shape. It will use the position, or where your anchor point is, to determine the pixels to sample.

  • Andy Kiernan

    May 25, 2022 at 10:22 pm

    ok, so in the latest version of AE at least, this expression is less than predictable (at least the one from effects and presets, you can create your own using the function in the expression editor)

    I’ve attached an ae file link with it working though. — https://we.tl/t-cHRNbfJQsm (1week)

    So, take footage, add the sample expression effect. Have your layers in comp with a fill effect. Add a null, make sure the null is at the same point as the layer you want to effect FIRST. attach sample expression position to the null. Then attach null position to your shape layer position(using the expression pick whip not parenting), then pick whip fill to the sample expression colour. should work. Then repeat, duplicating footage layer(can’t have more than one sample layer expression per footage layer I find)

    I’m tired and had a beer so I promise nothing but hope this helps!

  • Chris Voelz

    May 25, 2022 at 10:46 pm

    Hopefully this helps demonstrate it. You can move the shape layer wherever you want and it will sample the pixels corresponding to the “target”.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy