Regarding your code, I think you missunderstood the concept of shaders and 
shadowtechnique. You do not need to have a visitor to add the shaders to your 
objects. You have to set the shaders to your shadow technique! Its the 
shadowscene node which takes responsibility to render your scene using the 
shadowtechnique's shaders. The scene objects do not have to know anything about 
the shader...


Paradox wrote:
> Hi,
> 
> No one can give me an idea to integrate lppsm with customs shaders?
> 
> Thank you!
> 
> Cheers,
> Dario


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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to