Original Post
Hello. My current project is a small level editor. I'm going to implement following functionality, but I don't know how to do it best way: Let's assume the user has created a polygon. Then he should be able to modify it, like adding one or more textures for texture blending or a colour component (diffuse and specular) for each vertex individually. But in DirectX it is possible to use up to eight textures at once. When I distinguish between lit and unlit vertices furthermore, I have to declare sixteen different vertex formats, that are many. Do I really have to declare all of them? Can anybody say me, how to do this best? Thanks.