What do you mean? You just need to set the different textures at
different units...

When you create a geometry you set an array of texture coordinates and
"bind" it to texture unit.
If you want you can use the same texture coordinates to more texture
units or different coordinates to different units.

As for the texture itself, when you add the texture attribute to the
stateset of the object you also "bind" it to a texture unit, and of
course you can repeat the process with other units.

I think there is an example of multi-texturing...


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Torben
Dannhauer
Sent: Monday, December 28, 2009 5:37 PM
To: [email protected]
Subject: Re: [osg-users] MultiTexturecontrol on OSG subgraphs (NOT VPB)

Hmm, has anyone yet used a Model with more than one texture? Hard to
believe.. I would be happy to write a howto, but I have no clue
myself...

Well,I'll let you Know if I have a solution.

Thanks Torben

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21887#21887





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to