Kfilter
Kfilter copied to clipboard
Grouping of shaders
Is grouping of shaders possible with kfilter library?
Suppose I have 3 shaders like A,B,C and I want to A as layer1 , B as layer2 and C as layer3.... Whenever i add layer1 ,layer2 and layer3 Then it should show inputVideo->layer1(layer on inputvideo)->layer2(layer on layer1)->layer3(layer on layer2) it should preview and save the shaders as like above sequence.. it is like overlaying multiple shaders on single video.
This feature is available in Gpu library in IOS But I am not able find above functionality in android .
It's not possible with the current version of Kfilter, but if this is an important feature for you, I can take a look at it. It will probably not be an easy addition though, so it could take me a few weeks to add.
The simple solution for now is if you make all the filters into one big shader and then use uniform variables to toggle the different sections on or off.
Would you like this feature added?
Yes you can take time to add that functionality. I am looking for next version updates with this functionality and i can wait for this update.
Thankyou Isaac