[osg-submissions] ShadowMap non-textured objects fix

Adrian Egli 3dhelp at gmail.com
Sun Dec 9 08:48:00 PST 2007


:-) i like fake texture :-)


2007/12/9, Robert Osfield <robert.osfield at gmail.com>:
>
> 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 <radu at cm-labs.com> 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
> > osg-submissions at lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
> >
> >
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>



-- 
********************************************
Adrian Egli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071209/3d5e35eb/attachment.htm 


More information about the osg-submissions mailing list