On 5/11/2011 12:51 AM, Turgut Mehdiyev wrote:
Hi Chris,

Thank you for your help. First i add all my nodes to group and after this group 
added to shadowed scene. And to one of the nodes or more i apply shaders. I 
understand that shadowmap shader program overrides the custom shader program. I 
try to override shadow custom settings but no effect. Maybe anybody have real 
solution for that?

You could mark your own shaders as PROTECTED, but is that really what you want? Or do you want to combine the functionality of the shadow shader with your shader? If so, then that's what you should do.
   -Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to