CameraFilter icon indicating copy to clipboard operation
CameraFilter copied to clipboard

Apply Custom Filter?

Open SohailYaseen opened this issue 8 years ago • 3 comments

I want to apply my custom filters like Vignette, GrayScale, Blur, Blue Mess and many more, how can i achieve using your code.?

SohailYaseen avatar Jan 10 '17 13:01 SohailYaseen

You can take a look at the PixelizeFilter.java to learn how to make a simple filter.

nekocode avatar Jan 11 '17 02:01 nekocode

It requires .fsh file, and that's the reason i am asking this question. How can i write .fsh file of my custom filter! @nekocode

SohailYaseen avatar Jan 11 '17 15:01 SohailYaseen

Yes, you need to write the fragment shader for your custom filter. This is a difficult science. Maybe you need to learn more about the OpenGL and shader programing.

If you need some examples. Just check the links in the README that link to the shadertoy.com.

nekocode avatar Jan 11 '17 16:01 nekocode