Вопрос

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