Re: [osg-users] Troubles with shadows migrating on 3.2.0.

2013-10-31 Thread Robert Osfield
HI Dario, Are you providing your own shaders? Could you post pictures of 3.0.1-rc3 for comparison. Have you tried the new ViewDepedentShadowMap, this is now the most robust and powerful shadow technique we have, it's not part of 3.0.x. Robert. On 31 October 2013 12:19, Dario Minieri

Re: [osg-users] Troubles with shadows migrating on 3.2.0.

2013-10-31 Thread Dario Minieri
Hi, No, in this example I have no custom shadersif I try to use my own custom shaders based on 3.0.1rc3 lspsm I receive a Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..) and the screen comes obviously black. So, right now, I'll be happy if shadows re-work

Re: [osg-users] Troubles with shadows migrating on 3.2.0.

2013-10-31 Thread Robert Osfield
Hi Dario, I'm not the author of the LSPSM technique so can't really help debug it specifically. From looking at the two images it looks like the 3.2.x version is not providing an ambient component for lighting. In general with shadows you will need to provide your own shaders, so I'd guess with

Re: [osg-users] Troubles with shadows migrating on 3.2.0.

2013-10-31 Thread Wojciech Lewandowski
I am an author of LISPSM and I do not totally agree with your Robert. I know cases where LispSM or MSM still works better (flight sims with sparsely filled frustum). I admit LispSM has many weak points so usually do not respond to your comments but I just snapped. On that particular issue I

[osg-users] Troubles with shadows migrating on 3.2.0.

2013-10-30 Thread Dario Minieri
Hi, I'm using right now the osg 3.0.1-rc3. I have a project with shadows. With osg 3.0.1-rc3 all shadows and objects look good. Running same project with osg 3.2.0 I see a problem with shadows: all objects become darkish even if the shadows there are. Seems to be the source light that don't

Re: [osg-users] Troubles with shadows migrating on 3.2.0.

2013-10-30 Thread Robert Osfield
HI Dario, How are the shadows implemented with your application? Robert. On 30 October 2013 16:00, Dario Minieri para...@cheapnet.it wrote: Hi, I'm using right now the osg 3.0.1-rc3. I have a project with shadows. With osg 3.0.1-rc3 all shadows and objects look good. Running same project

Re: [osg-users] Troubles with shadows migrating on 3.2.0.

2013-10-30 Thread Dario Minieri
Hi, I forgot to say that the shadow there is, but shadow itself is very darkish, not semi-transparent as previous version. I'm using LightSpacePerspectiveShadowMapCB. Thank you! Cheers, Dario -- Read this topic online here:

Re: [osg-users] Troubles with shadows migrating on 3.2.0.

2013-10-30 Thread Dario Minieri
Hi, In effect, I have tried right now all shadow type: lspsm, sm, ssm and pssm but no one looks good Thank you! Cheers, Dario -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57013#57013 ___