Sorry, but that code doesn’t mean anything to me.
What is in kernel_filter_custom_example?
Your best way of getting help on this is to
-
Summarize what you are trying to achieve (keep it clear, concise, and precise).
-
Optionally provide a video link and/or an image link to similar effects.
-
Make a (very) small example project showing what you’ve tried:
- build.settings
- config.lua
- main.lua
- kernel definition file
-
Zip up (.zip, not .7 or .rar because .zip is pretty universal) the project.
-
Share a link to that file here using dropbox or some other file sharing service.
-
Ask for folks to look at your code and give input on what may be wrong.
I know this may seem extensive, but seeing just a little bit of your code in this context isn’t enough. What you’re doing is semi-advanced and requires a high level of context to resolve/understand.