On 10/19/07, Terry Welsh <[EMAIL PROTECTED]> wrote:
> Hi Robert,
> My own PSSM code and osgshadow both exhibit this problem.  The code
> you wrote that makes shadow cameras measure LOD distances from the
> main camera's position works fine... until you introduce a LOD scale
> on the main camera.  The shadow cameras keep using a LOD scale of 1.0
> instead of using the LOD scale that you set on the main camera.
>
> I am able to work around the problem by explicitly setting the LOD
> scale on all of my shadow cameras, but this won't work for people
> using osgshadow unless they are given access to all of its shadow
> cameras.

OK I understand better where you are coming from now.  I don't have a
solution though :-)

Perhaps the osgShadow::ShadowTechniques could check the LOD scale and
adjust things accordingly.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to