Use VertexShader to Render a VB
As I know, Device::CreateVertexBuffer() need a DWORD to specify FVF, while I want to use VertexShader to render geom data, How can I create the VB?
by the way, why didnt you just try a zero, see if it works, and when it does, no need to post here......?
Quote:Original post by paulshady
by the way, why didnt you just try a zero, see if it works, and when it does, no need to post here......?
You're right, another mistake blinded me, now it works aright.
Thx!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement