[osg-users] Shadow frustum culling

Robert Osfield robert.osfield at gmail.com
Mon Oct 29 13:02:30 PDT 2018


Hi Gadalia,

The OSG doesn't culling per Camera with each camera's own view frustum used
for culling, this means the shadow camera should only cull things that are
in it's frustum.  If it's culling objects that you think should be in the
frustum then perhaps it's just set up with the wrong projection matrix
settings.

Robert

On Mon, 29 Oct 2018 at 18:44, Gedalia Pasternak <gpasternak at mak.com> wrote:

>
> Hi List,
> I've noticed that when using a camera for shadow casting it can often cull
> out objects that are just outside of the frustum but cast shadows into the
> scene. Is there any way to decouple the camera frustum culling calculation
> from the rendering one, even just increasing the culling frustum size by
> 10-15% might help.
> Thanks
> -Gedalia
> --
> DI-Guy Engineering Lead, VT MÄK
> 150 Cambridge Park Drive, 3rd Floor, Cambridge, MA 02140
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181029/99680b7e/attachment.html>


More information about the osg-users mailing list