Game Development Community

Static Shape shows white texture in game

by Krane · in Artist Corner · 09/30/2006 (9:22 am) · 3 replies

Hi all,

I'm new to the max2dts exporter and I'm having this problem. I've try almost every way and the mesh always shows up in the game totaly white. I believe is something related to the texture. Do I need to add a piece of code somewhere? Is my jpg ok (baseline standard)?

Thanks for helping.

#1
09/30/2006 (11:32 am)
Look in your console log. You should see something about missing texture(s).
#2
09/30/2006 (11:52 am)
The single most common reason for this is that your texture doesn't have the right dimensions. Is it a power of two (that is 64, 128, 256, etc, etc).
#3
09/30/2006 (12:50 pm)
WOW! Thanks Tony and Magnus. My textures were not power of 2. Almost all max textures are not. Anyway, I learned a good lesson, thanks again.