Hi Daniele,

It could be that some models are using multi-texturing or are the
state in the models doesn't work well with the shaders used by
osgShadow.  The best way to work out what the different models are
doing is to export then to .osg or .osgt (if you are using 2.9.x or
svn/trunk) and then have a look at the resulting ascii file as it will
list all the state that is being setup, and what texture units are
active.

Robert.

On Wed, Feb 9, 2011 at 2:53 PM, daniele argiolas <[email protected]> wrote:
> Hi,
> I put "sm->setTextureUnit(1);" but it doesn't change. I don't know if it's 
> rendering in Shaders or Fixed, how do I check it?
>
> I can't understand why some models works and others not.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=36496#36496
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to