Maya DTS Shader Problem
by University of Central FL (#0009) · in Torque Game Engine Advanced · 05/19/2006 (8:27 pm) · 2 replies
I have been having a problem applying shaders to dts's exported from maya...well, its non-existent.. I have exported the same model from max and I can apply a shader to it's texture flawlessly.
from max i've exported the model with the same texture i used in maya, the only difference i can see is that in max i apply the texture file to the diffuse channel...while in maya its in the color channel.. I'm not sure if this matters or not...
I was wondering if there was some extra setting that needs to be enabled or a specific material required for export...
Thanks in advance.. Cheers
from max i've exported the model with the same texture i used in maya, the only difference i can see is that in max i apply the texture file to the diffuse channel...while in maya its in the color channel.. I'm not sure if this matters or not...
I was wondering if there was some extra setting that needs to be enabled or a specific material required for export...
Thanks in advance.. Cheers
About the author
#2
Everything workd fine...
Cheers
05/21/2006 (10:31 am)
Thank you... while i had tried it with the extensions prior, the problem was i did not have the quotation marks...Everything workd fine...
Cheers
Associate Manoel Neto
Default Studio Name
We had a similar problem. It's because the Maya DTS exporter stores the texture names with their extensions, while the Max exporter stores only the filenames. So you have to add the texture extension in the material's mapTo field.
Instead of:
new Material(foo) { mapTo = "foo"; };Do:
new Material(foo) { mapTo = "foo.jpg"; };