BradLarson / GPUImage3

GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal.
BSD 3-Clause "New" or "Revised" License
2.68k stars 331 forks source link

Custom shaders in main app bundle? #76

Open sbelmeha opened 4 years ago

sbelmeha commented 4 years ago

Is there a way to use GPUImage3 as a framework and have own custom metal shaders in app bundle? As far I understand all shaders should be in App.app/Frameworks/GPUImage.framework/default.metallib otherwise it won't compile it, but maybe I missing something.

useobjc commented 4 years ago

Nope, you can't do that.

dev-xdyang commented 4 years ago

it's a very useful feature I think!

dev-xdyang commented 4 years ago

I commit a PR #77 to support this feature!

sbelmeha commented 4 years ago

Cool, hope it will be merged soon.