Thanks Mihai, fix now merged and submitted to SVN.  This fake texture
trick is something that might be worth rolling it out to the other
shader based shadow techniques.  Something for discussion on
osg-users.

On Nov 1, 2007 10:40 PM, Mihai Radu <[EMAIL PROTECTED]> wrote:
> Hi Robert,
>
> After someone asked for a fix for non-textured object appearing black
> with the shader for textured objects. This works very well in cases
> where there could be a mix of textured and non-textured objects in the
> scene, and it makes the initialization more robust.
> The idea is from PSSM, to add a 1pixel texture to the main rendering  as
> to provide white for any objects missing textures.
>
> To test:
> osgshadow --base dumptruck.osg
>
> Do you think the shader for non-textured cases should be left there, or
> simplify to only one shader ?
>
> Regards
> Mihai Radu
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to