View Single Post
# 1 15-07-2007 , 02:15 PM
Registered User
Join Date: Jul 2007
Posts: 4

Adding Material with Diffuse Color + Texture to .obj file

I need to apply a material to my model, except that the material needs to support diffuse color *and* a texture. In Maya, when I make a material, I can change the diffuse color simply by editing the Color. However, once I drag a texture and connect it to the Color, I can't modify the Color anymore, and inside the texture there are some color commands but none of them modify the Diffuse component anymore.

The problem is that this diffuse color now default to 0,0,0. I am exporting the model to .obj format, and Kd exports as 0,0,0, but should at the least be 1,1,1, or other valid values. If it's 0,0,0 as Maya exports, the object becomes black. I've tried layered shaders, but they don't export properly nor do they give the expected effect.

Thanks.