How to put a matrix in the Vertex FVF

Started by
-1 comments, last by fromthefuture 13 years, 1 month ago
This post is related to a suggestion I was given in this thread. To summarize really quickly, I want to be able to set an individual transform per polygon without having to have a DIP call for each of those polygons. So I was told that I can store a matrix in the vertex structure, and the use a vertex shader to compute the transforms. But how do I declare a matrix in my FVF, I didn't see any D3DFVF_, flag that would allow it to be passed. Is there a work around?
Non est ad astra mollis e terris via

This topic is closed to new replies.

Advertisement