Re: [osg-users] Adding a shader cancels shadows!

2008-05-23 Thread Robert Osfield
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

Re: [osg-users] Adding a shader cancels shadows!

2008-05-23 Thread Alejandro Segovia
On Fri, May 23, 2008 at 5:08 AM, Robert Osfield [EMAIL PROTECTED] wrote: 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

[osg-users] Adding a shader cancels shadows!

2008-05-22 Thread Mael Blanchard
Hi, I had a *GLSL shader* in a scene with shadows, that use a *osg::** shadowedScene* and it doesn't work. What is the problem? Can I combine my GLSL shader and a shadowed scene?? I test it in the *osgshadow.cpp* example, i had this sample of code (with the basic shader of phong, with no

Re: [osg-users] Adding a shader cancels shadows!

2008-05-22 Thread Art Tevs
osgShadow sets. Best regards, Art --- Mael Blanchard [EMAIL PROTECTED] schrieb am Do, 22.5.2008: Von: Mael Blanchard [EMAIL PROTECTED] Betreff: [osg-users] Adding a shader cancels shadows! An: osg-users osg-users@lists.openscenegraph.org Datum: Donnerstag, 22. Mai 2008, 15:05 Hi, I had

Re: [osg-users] Adding a shader cancels shadows!

2008-05-22 Thread Sebastian Messerschmidt
about all the uniforms which osgShadow sets. Best regards, Art --- Mael Blanchard [EMAIL PROTECTED] schrieb am Do, 22.5.2008: Von: Mael Blanchard [EMAIL PROTECTED] Betreff: [osg-users] Adding a shader cancels shadows! An: osg-users osg-users@lists.openscenegraph.org Datum: Donnerstag, 22. Mai