Hi all,
I have written some classes for special effects like ambient occlusion or
shadow.
All those classes are using their own prerender cameras. The cameras use the
initial draw callback for updating their view matrices by using the main
cameras view matrix.
Unfortunately it looks like the rendered shadow/ ambient occlusion matrices
correspond to the previous frame. So my guess is that the view matrix of the
main camera isn't updated from the camera manipulator at the time of the
callback.
Is there any better callback I can use for that?
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org