Re: [osg-users] StandardShadowMap and Render To Texture

2011-02-18 Thread Martin Großer
@lists.openscenegraph.org Betreff: Re: [osg-users] StandardShadowMap and Render To Texture Maybe your problem is related to the fact that Shadow maps are usually stored in DEPTH_BUFFER (not COLOR_BUFFER). Wojtek Lewandowski -Original Message- From: Martin Großer Sent: Wednesday, February

[osg-users] StandardShadowMap and Render To Texture

2011-02-16 Thread Martin Großer
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 );

Re: [osg-users] StandardShadowMap and Render To Texture

2011-02-16 Thread Wojciech Lewandowski
] StandardShadowMap and Render To Texture 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

Re: [osg-users] StandardShadowMap and Render To Texture

2011-02-16 Thread Martin Großer
: [osg-users] StandardShadowMap and Render To Texture 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

Re: [osg-users] StandardShadowMap and Render To Texture

2011-02-16 Thread Wojciech Lewandowski
: [osg-users] StandardShadowMap and Render To Texture 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