Hello,

Every day a new problem. :-)
Ok, so my Render To Texture works, but my shadows are not visible in the 
texture (rendertarget).

My Settings:

rtt_cam->setRenderOrder(::osg::Camera::PRE_RENDER, 0);
rtt_cam->setRenderTargetImplementation( osg::Camera::FRAME_BUFFER_OBJECT );
rtt_cam->attach(::osg::Camera::COLOR_BUFFER, rtt_tex, 0, 0);

Is the Problem the pre rendering? Because the standard shadow map has also a 
pre render camera. I am not sure which camera do the first rendering.
Or is it another Problem?

Cheers

Martin
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren: http://www.gmx.net/de/go/freephone
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to