Hi Christophe,

I am not aware of any bugs with setting TexMat on multiple textures.
Are you setting the tex mat on each texture unit separately?

Robert.

On 8/24/07, Christophe Medard <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> Working with version 2.0.0 of the API, I'm trying to set a texturation
> matrix with the idea to modify it on the run to obtain texture animation.
> It works perfectly well, but seems to be taken into account only on texture
> unit 0.
> Yet, the TexMat (as a StateAttribute) is to be set on the StateSet, which is
> unique on a Geometry (or a Geode) even if there are multiple texture units
> on it.
>
> Isn't the texture matrix to be taken into account on all texture units ? Am
> I missing something or is it a bug to fix ?
> Should I try the v.2.1.0 of the API ?
>
> --
> Christophe Médard
> Société OKTAL (http://www.oktal.fr)
> 2 impasse Boudeville
> 31100 Toulouse (France)
> Tél. : (+33) 5 62 11 50 10
> Fax : (+33) 5 62 11 50 29
>
> _______________________________________________
> 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