how to use shared <input set> attribute ?

Hi,

I didn’t quite understand the optional “set” attribute of shared <input> ? Can someone please help me understand what it is and how it works ?

Thanks

(PS: I got my basic rendering of .dae files worked out, yaay. Here are some screenies Screenie from my collada renderer / processor | eNtropology Games )

The set attribute distinguishes between multiple inputs that have the same semantic. The <bind_vertex_input> element will then describe how to bind the two inputs to the associated materials. The typical use-case is multi-texturing where there are two TEXCOORD semantics (i.e. set=1 and set=2).