开发者

Change the definition of the vertex buffer from an imported model

开发者 https://www.devze.com 2023-02-17 08:48 出处:网络
I want to change the vertex defit开发者_StackOverflow社区ion from a model. I have a definition called VertexPositionColorNormal. But the code errors on the draw statement that there isn\'t any color.

I want to change the vertex defit开发者_StackOverflow社区ion from a model. I have a definition called VertexPositionColorNormal. But the code errors on the draw statement that there isn't any color.

How do I solve this?


This is controlled by the Effect. My guess is that you have Effect.UseVertexColor True. Either set it false for models without vert color or change the artwork.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号