Hello,
perhaps someone can help me with a problem I have. Attached is the image
I get when using shadow mapping. At present I don't know where the
artifacts on the ground and the cube came from. I use following settings
for the textures:
setFilter( osg::Texture2D::MIN_FILTER, osg::Texture2D::LINEAR );
setFilter( osg::Texture2D::MAG_FILTER, osg::Texture2D::LINEAR );
setWrap( osg::Texture2D::WRAP_S, osg::Texture2D::CLAMP_TO_EDGE );
setWrap( osg::Texture2D::WRAP_T, osg::Texture2D::CLAMP_TO_EDGE );
setShadowTextureMode( osg::Texture2D::LUMINANCE );
setInternalFormat( GL_DEPTH_COMPONENT );
Greets,
Marcus
--
----------------------------------------------------------------
Marcus Fritzen E-mail: [EMAIL PROTECTED]
University Koblenz
Triererstr. 105, 56072 Koblenz,
HIWI FB4 Herr Jackel
----------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/