I’m working on an application where I’m getting multiple warnings like the below while the application is running:
cinder::gl::Context::debugMessageCallback Program/shader state performance warning: [Vertex/Fragment] shader in program [xx] is being recompiled based on GL state
I get the warning for both fragment and vertex shaders, and the program numbers vary. I’m using a scene graph to implement (among other things) a particle system. Each particle has a 3d motion, and has its own VBO ci::gl::BatchRef as a member variable, which is created with a shader (very simple, based on the default Cinder shaders).
What causes this sort of warning? The application is also running in a large window (11520x3240), and I wonder if that’s affecting this, as well.
Thanks for any insights,