Skip to main content
Known Participant
May 29, 2025
Answered

How to make effect plugin render result exceed layer size range? Like motion tile effect.

  • May 29, 2025
  • 1 reply
  • 1139 views

Hi guys,

I want to write an effect plugin which can achieve that render result can exceed layer original size, in AfterEffects plugin, there is an effect called Motion Tile, the result from this effect can exceed layer size like image below, thanks!

Correct answer James Whiffin

Try setting both output result rects to the expanded_rect. Also if you want you can expand the request rect to recapture any offscreen pixels, not sure if that is relevant to the plugin you are making. 

1 reply

James Whiffin
Legend
June 3, 2025

You can expand the boundaries in frame setup if you're not using smartFX, or by increasing the output rectangle in PreRender when using smartFX.

Known Participant
June 3, 2025

Many thanks man, I have a try 😄

James Whiffin
Legend
June 3, 2025

No worries 🙂 if you go the first route you'll need to set PF_OutFlag_I_EXPAND_BUFFER. If you go with smartFX you'll need to set 

extra->output->flags |= PF_RenderOutputFlag_RETURNS_EXTRA_PIXELS;