Mesh and texcoord sets

How to add more than one texture coordinate set to a Mesh? Like:



FloatBuffer texCoordSet0 = …

FloatBuffer texCoordSet1 = …

Mesh mesh = new Mesh();

mesh.setBuffer(Type.TEXCOORD, 2, texCoordSet0, at index 0);

mesh.setBuffer(Type.TEXCOORD, 2, texCoordSet1, at index 1);



Thanks.

Currently jME3 only supports one TexCoord set, but its possible to add support for more texcoords. This is for the collada loader, right?

It's for the parser but there's no problem if the feature is missing in jme, there are no mandatory parts in collada.