Materials/FAQ/General FAQ
From TDN
[edit] Textures[edit] I can't properly see my texturesNon power-of-2 textures - textures that do not have dimensions that are a power of 2 (2x2, 4x4, 8x4, 32x32, 128x256, etc) will not work properly with a lot of the most common shader hardware available today. Change your texture sizes to fix this; use the following: ..., 64x64, 128x128, 256x256, 512x512, .... . You can use different setups such as 128x512 as long as they remain of the power of 2.
[edit] I see an orange texture that says "no material" on it, what is that?If you see that warning texture, there is no Material mapped to that texture, or there is a problem with the mapping from a Material to the texture. Common problems with this situation are:
Also be aware that Maya exports the full texture name with extension, so you would need to use mapTo with the full texture name in it. For example: new Material(CamoCratesMaterial) { mapTo = "camocrates.png" baseTex[0] = "camocrates"; }; [edit] Rendering
|