Hi, Paul

I don't know if it can help, but it's a tip. I'm trying to work with shadows 
too, without sucess yet. My project was crashing before I added the following 
line, founded in osgshadow example:

sm->setTextureSize(osg::Vec2s(1024,1024));

"sm" indicates the technique I'm using, ShadowMap. With this command, it stops 
breaking. But I still with no shadows in the scene, this may be another mistake.

Hope it helps.

Rodrigo Salvador

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11635#11635





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to