Re: [osg-users] Using shaders (vert and frag) with StandardShadowMap shaders.

2012-08-07 Thread Dario Minieri
Nice! Thanks for the suggestion, I'm now able to start with blending my shaders with shadow shaders... danoo wrote: 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

Re: [osg-users] Using shaders (vert and frag) with StandardShadowMap shaders.

2012-08-06 Thread Daniel Schmid
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

Re: [osg-users] Using shaders (vert and frag) with StandardShadowMap shaders.

2012-08-05 Thread Dario Minieri
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=49168#49168 ___ osg-users mailing list

Re: [osg-users] Using shaders (vert and frag) with StandardShadowMap shaders.

2012-07-25 Thread Dario Minieri
Hi, ...but, my question is: is correct the whole procedure? In practice, we reassign the program shaders to all objects and osgShadow traversal will compute the uniforms to pass to the shaders via stasetthis look correct to me, but there must be another way to make it work... Thank you!