Hi Sergey, On Mon, Aug 29, 2011 at 10:55 PM, Sergey Polischuk <pol...@yandex.ru> wrote: > All shadowmapping techniques have problems with such aliasing problems. You > can try use shadow volumes technique as it dont suffer from this problem and > generates correct shadows in any case, but it have other drawbacks. IIRC this > algo also implemented in osgShadows.
Shadow volumes will have problems with vertical surfaces that cast their own shadow as well as numerical precision issues will mean that some areas will classified in and other areas classified as out of the shadow. The matching of the vertex and fragment shaders handling of ambient light is solution in both cases. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org