I am writing a pixel bender filter to be used in Flash. When I run the kernel in Pixel Bender I can see and change all my parameters (float and float2), but once exported to a .pbj and embedded in Flash I get a "TypeError: Error #1010: A term is undefined and has no properties.". I have run a loop tracing the shader data and it does not show that the parameters are there I change the version number for each export and I am surely embedding the latest version.
Can someone please tell me why this would be happening, I am totally at a loss.
would it be possible for you to post the kernel code and actionscript? It would be good to have more info.
I think you declared parameters, but do not use them in the function.
So, compiler remove parameters from pbj.