Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Blender - DirectX exporter question

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 pachesantiago   Members   

188
Like
0Likes
Like

Posted 22 September 2012 - 06:40 PM

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




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.