Hi Mael,

As Art and Sebastian have mentioned, since osgShadow implements its
own shaders these will replace you own ones.  This does make
integrating other effects with osgShadow difficult.  Shaders are in
general difficult to combine, but osgShadow certainly doesn't make it
any easier.  I think the right way forward for osgShadow is to provide
a public interface for getting the uniforms and individual shaders,
the allow users to define a main() shader to combine these are their
own shaders.   Alas this isn't just a little tweak to osgShadow so not
something that can be slotted in right away.

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

Reply via email to