Dear Wojciech, J-S,

> All classes belonging to ViewDependentShadow group derive shaders from
> StandardShadowMap. If you look at these shaders you will notice that they
> are split into main vertex and fragment shader and shadow vertex and
> fragment shader.
>

I saw this. Maybe I'm being daft, but presumably this only helps when you
have the SAME shader for the entire shadowed scene? I have a situation where
the shadowed objects have a variety of different shaders. If I'm missing
something obvious, my apologies.

LODs should be properly handled by ViewDependentshadows. Shadow camera uses
> the same viewpoint as main camera.  Shadow Camera ref frame is set to
> ABSOLUTE_RF_INHERIT_VIEWPOINT.
>

Ah yes. Thanks for pointing that out.

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

Reply via email to