Don't know if this is your case, but depending on the way you create or import 
your models into the scene graph, you may be using different TUs in your model 
than in the shadows shaders, be sure to use the same TUs in the first place.

I'd suggest you to try to create a simple scene with just two objects with TUs 
configured as required by the shaders and then, if everything is fine, try with 
more complex models (if you still get black objects use a visitor to see what 
TUs are used and if they match those supposed to be used in the shadows 
shaders).

Hope this helps.
Alessandro

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





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

Reply via email to