Archived

This topic is now archived and is closed to further replies.

Using material color source for lit vertices

This topic is 5514 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

I have set up an vertex-buffer with lit vertices (vertices with diffuse info) and I know want to use an material as diffuse source instead of the color of the vertices, what rendering state could I use to solve my problem? I don''t want to convert all my vertices into another format, because I sometimes need to use the vertex-color and sometimes I need to use an material color...

Share this post


Link to post
Share on other sites
Perhaps I expressed myself wrong...

I have my vertex-format with color-informations, sometimes I want to render my vertices using the color-informations, but sometimes I need to render some of the vertices with color-informations from an material source (all vertices should have the color specified in the material source)

Share this post


Link to post
Share on other sites