سؤال

It seems like everything I've found for Gaussian blur requires an image or video like GPUImage. Does anyone know of either a fork of GPUimage or an approach for placing a gaussian blur over a region of an MKMapKit map? The goal is that the map can still be zoomed and dragged around without noticeable lag.

هل كانت مفيدة؟

المحلول

You should try an approach of taking a snapshot of the map by asking its layer to renderInContext and handing those contents over to GPUImage. This should be performant.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top