Previous topicNext topic

Possible bug report

Suggestions for new features for Magic.
Post Reply
pinmode
Posts: 44
Joined: Sun May 29, 2016 7:39 pm

Possible bug report

Post by pinmode »

Three anti-alias modules leads to an unexpected framerate drop: https://www.youtube.com/watch?v=JapK1lHRPxw

Or maybe I'm using this module incorrectly.
artnik
Posts: 268
Joined: Tue Jan 05, 2016 5:33 pm

Re: Possible bug report

Post by artnik »

The ANTIALIAS module works via multisampling, essentially rendering the input at twice the resolution, then scaling it back down to the target resolution.

In effect, that means it's rendering 4X the number of pixels, PER INSTANCE. So, chaining 3 of them in a row means you're rendering the input with the equivalent of 12x the pixels, with three downsamplings. I'm not surprised it's slowing down.

For more details on multisample antialiasing check out this Wiki article: https://en.wikipedia.org/wiki/Multisample_anti-aliasing.

It looks to me like TEXT is already anti-aliased even without adding an ANTIALIAS module. Having said that, a single ANTIALIAS module does smooth it a bit more, but anything more than one instance is overkill and won't really make a difference visually.

Cheers!
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Possible bug report

Post by Magic »

Yup, what artnik said is exactly right. I highly recommend you Antialias modules sparingly -- probably only 1 per scene maximum.
Post Reply