Page 1 of 1

ISF Cache?

Posted: Thu Oct 31, 2019 10:36 pm
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?

Re: ISF Cache?

Posted: Fri Nov 01, 2019 4:08 pm
by Magic
Export one frame of that scene to a .png, then replace the scene with an Image module and the .png.

Re: ISF Cache?

Posted: Fri Nov 01, 2019 11:53 pm
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 :)