how to use shared <input set> attribute ?


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 ?


(PS: I got my basic rendering of .dae files worked out, yaay. Here are some screenies )

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).