Re: [osg-users] Artefact and jitter effects using osgShadows

2014-05-11 Thread Yann Takvorian
Hi Nick, Thanks for your reply. Unfortunately, with the LightSpacePerspectiveShadowMapDB, it is even worse. I have set the TraversalMask and the only combinaison that works is: terrain-setNodeMask(ReceivesShadowTraversalMask); truck-setNodeMask(CastsShadowTraversalMask); When I do:

[osg-users] Problem with OsgShadows

2014-05-11 Thread Yann Takvorian
Hi there, Have you gone thru such terrible shadow problems using the basic osgShadow sample (v-3.1.5) and adding just two nodes to the shadowscene: terrain (ive format) and truck (osg) https://www.youtube.com/watch?v=NBoUaNzYfn0 ... Thank you! Cheers, Yann -- Read this topic

Re: [osg-users] Problem with OsgShadows

2014-05-11 Thread Yann Takvorian
I fixed the artifact problem by increasing the texture size of the ShadowMap: sm-setTextureSize(osg::Vec2s(8192,8192)); Now, I have to twicke the softShadowMap which is so soft that I cannot even see the shadows ! If you guys have some hints... Thank you! Cheers, Yann -- Read

[osg-users] Artefact and jitter effects using osgShadows

2014-04-10 Thread Yann Takvorian
Hi, I have tried to use osgShadow on a terrain database to make it more reallistic but could not get what I want. I started with the osgShadow sample (v3.1.5) and noticed on the island demo (-4) that the shadows where jittering when the light was moving. Then, I replaced the island with an