I encounters two problems in using the filter manager.
First, I find that if the screen has particle effects, the console output this:
:pgraph(error): Shader Generator does not support TexMatrix yet.
All the particle becomes dark. The fps dropped to below 10.
Second, the screen output become smaller and shift to the lower left. It looks like a texture padding problem.
I search around and only find one solution handled in the vshader:
Well, internally, something called setShaderAuto (which is the same as setShaderAuto(0)).
By calling setShaderOff(1), you’re applying a ShaderAttrib thats “off” to the nodepath with a higher override value than the setShaderAuto, so it will override the “auto” shader state with an “off” shader state.
Note that setShaderOff is something entirely different than clearShader. clearShader will remove any shader attrib on the current node, while setShaderOff adds a ShaderAttrib to the node with an “Off” state.