Code: Select all
Ogre::RenderOperation ro;
mRectangle->getRenderOperation(ro);
sm->manualRender(&ro,
pass,
vp,
world,
view,
proj,
false);
param_named_auto g_inverse_projection_matrix inverse_projection_matrix
but that matrix isn't getting filled it remains the Identity (note my projection matrix != Identity)
I looked at the code,
I noticed that sm->_markGpuParamsDirty(Ogre::GPV_ALL);
might help, tried that and found no happiness.
I can get around this by making by using param_named and manually setting the matices I need. But this is an ugly approach, so anyone know how to get the rs to set the auto params automagically?
many thanks