Advertisement

Blender - DirectX exporter question

Started by September 23, 2012 12:40 AM
-1 comments, last by pachesantiago 12 years, 3 months ago
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

This topic is closed to new replies.

Advertisement