I edited the model file and now everything works! Thanks! Renato
On Thu, Sep 29, 2011 at 3:35 AM, David Callu <led...@gmail.com> wrote: > Hi Renato, > > By default, many shadow technique use the Texture Unit 1. > And as I can see, your model use this one too. > > You can check your model or change the texture unit use by the shadow. > If I'm right, this will fix the probleme > > HTH > David Callu > > 2011/9/28 Renato Silveira <silveira....@gmail.com> > >> Hi, >> I exported a model with sketchupToOSG and loaded it in an osg application. >> When I enable shadows (the default osgShadows techniques) the textures of >> the loaded models becomes wrong. If I disable shadows, everything works. >> Anybody ever had this problem? >> >> That's what I got: >> http://imageshack.us/photo/my-images/849/shadowafterexport.png/ >> >> That's what it should be: >> http://imageshack.us/photo/my-images/59/shouldbed.png/ >> >> >> >> -- >> *Renato Silveira >> * >> Ph. D. Student >> Informatics Institute - UFRGS >> Porto Alegre - RS - Brazil >> http://www.inf.ufrgs.br/~rsilveira >> >> >> _______________________________________________ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- *Renato Silveira * Ph. D. Student Informatics Institute - UFRGS Porto Alegre - RS - Brazil http://www.inf.ufrgs.br/~rsilveira
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org