Hi Cyril,

Sorry I am on vacations and have not spotted your question before. Also I will not be able to look at the source code before I get back next week. MinimalShadowMap or MinimalCulllBoundsShadowMap should work correctly with large LightMargin. Does your light source is an infinite directional light ? Maybe you are using spot light which will not cast the shadow from behind its location anyway ? There is a chance that a bug turning off LightMargin may appear when compute near far is used. Try setting DO_NOT_COMPUTE_NEAR_FAR on scene camera and see maybe this will change situation a bit.

Cheers,
Wojtek Lewandowski

-----Oryginalna wiadomość----- From: Cyril Bondue
Sent: Tuesday, August 09, 2011 1:23 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] OSG 2.8.3 & 3.0.1 view dependent shadow clippingplane

anyone can try the attached code please? Just to see if the bug comes from my compilation (even if i didn't change a think..) my code or something.

Thanks!

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to