• Advertisement
Sign in to follow this  

Use VertexShader to Render a VB

This topic is 4184 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
by the way, why didnt you just try a zero, see if it works, and when it does, no need to post here......?

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement