Following this post (http://www.ogre3d.org/forums/viewtopic.php?f=2&t=52569), I wanted to resize my compositor's textures to the correct width and height of the render window.
The recommended solution is:
Code: Select all
chain->setCompositorEnabled(i, false);
chain->setCompositorEnabled(i, true);
Is it the right way to resize compositors ? How am I supposed to reattach the listeners (there's no way to retrieve the listeners, and at the place of the resize event my code shouldn't be aware of the presence of a compositor's RenderTargetListener) ?