• Advertisement
Sign in to follow this  

Blender - DirectX exporter question

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

Hy everyone. I got a quick question about the default DirectX exporter for Blender.
Does anyone knows in wich order does the exporter map the materials to subsets?
I want to create a shader in my engine in the place of the materials. For that i need to know to wich material does each subset "points"
For example, I export a model with two materials, material "A" and "B".
How do I know where's the material "A". is in subset 0, or in 1 ?
Thanks in advance.

PS: Here is the exporter : http://pastebin.com/eVnNQFL9

Share this post


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

  • Advertisement