Hello.
I add to the viewer the following scene graph:
Group
MyEffect
Model
MyCamera
Model
The effect uses a 2 pass technique.
In the first pass i render to texture the contents of color buffer 0 using
MyCamera.
In the second pass, i use the previous texture and i render MyModel using a
shader.
The effect overrides
osg::Node* getOverrideChild(int pass_num){
if (pass_num == 0) {
return MyCamera;
}
return NULL;
}
The problem is that the window cannot respond to mouse events and it stucks.
Has anyone faced this problem before ?
Thank you for your time.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org