GPUImage
GPUImage copied to clipboard
How to solve if .fsh have more than one uniform?
if the .fsh have more than 1 uniform,how to subclassing the GPUImageFilter to implementation custom filter~the class GPUImage have only one uniform,so the init method not work,how to solve this?
Look at the various examples in the framework where additional uniforms are added (like the brightness filter, as a simple case). Follow their example when creating your own custom filter subclass.