Previous topicNext topic

ISF Cache?

Suggestions for new features for Magic.
Post Reply
mcornholio
Posts: 22
Joined: Sat Sep 09, 2017 6:57 pm

ISF Cache?

Post by mcornholio »

Hi!

At some point creating a scene I've added a chain of blur shaders to a static text (see the attached screenshot).. and it reduced FPS greatly.

I've checked out the code of both Soft Blur and Fast Blur and they both don't depend on TIME and both don't use persistent passes. That said, they depend only on input image (which is static too) and parameters. So it definitely could be cached.

What do you think about caching render result of ISF such "clean" shaders?
Attachments
Screen Shot 2019-11-01 at 01.21.16.png
Screen Shot 2019-11-01 at 01.21.16.png (27.34 KiB) Viewed 4652 times
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: ISF Cache?

Post by Magic »

Export one frame of that scene to a .png, then replace the scene with an Image module and the .png.
mcornholio
Posts: 22
Joined: Sat Sep 09, 2017 6:57 pm

Re: ISF Cache?

Post by mcornholio »

Well, this one seems a bit of an overkill =)
It's your choice to implement this kind of cache or not, but if you're counting users eager for it, here's one :)
Post Reply