Hi Chris,

I don't now how the scene graph is set up so can't answer specifics, but in
general if you want texturing to appear then the fragment shader will need
to apply the texture.  I'd guess that the current fragment shader doesn't
have texturing in it, so just add this.

Robert.

On 23 January 2015 at 16:26, Chris Hidden <ch...@erghis.com> wrote:

> I run skinning.vert on my fbx model which has rigging.  Ive attached the
> shader program as in the osg hardware animation example.
>
> I have a texture that accompanies the hand model in the FBX file that I
> export from 3Ds max.  If I don't attach the shader program the hand models
> show up with the texture fine.
>
> I assume that when I run the shader on the hands it overrides the texture
> information.  So my question is, is there a way to tell the shader not to
> override existing texture information or can I get the embedded texture on
> the fbx hand model and then pass it to the shader, and if so how?
>
> Or is there another approach I should be taking?
>
> Cheers!
> /Chris
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=62458#62458
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to