Hi, I have a big scene graph with terrain, cars etc. and shadows. In addition to the normal camera I need a second camera, that renders the scene into a texture. So I created a camera node, attached the render target texture and added the camera node to the root of the scene graph. Additionally I added the geometry sub graph (which contains shadows, trees, houses, terrain etc.) as child to the camera.
Everything works (the main camera renders the scene to framebuffer and the second camera into the texture), except one thing: The shadows are totally messed up (in both cameras). Did I forget something? How can I fix this? Thank you! Cheers, Martin ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41846#41846 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org