Use VertexShader to Render a VB

Started by
2 comments, last by fishcrazy 17 years, 7 months ago
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?
Advertisement
if you are using vertex shaders, dont use the FVF, use a zero there as a place holder.
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