Page 1 of 1

Textures too dark ingame

Posted: Tue Jan 03, 2012 8:01 pm
by SpartanA259
Ok so I exported my new model with its textures perfectly fine in XSI. When I opened it up in StarWars Battlefront Viewer the texture was kind of messed up. I then put the model ingame and it turned black. At the end of the munge I got two errors. Also im using XSI 7.5 and MshEx_beta3.
Hidden/Spoiler:
WARNING[PC_modelmunge msh\tel_prop_powerpole.msh]:tel_prop_powerpole has 1441 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
0 Errors 1 Warnings

ERROR[PC_texturemunge msh\tel_prop_powerpole_glass.tga]:TextureMunge(tel_prop_powerpole_glass:500x722x1): Must have power of two dimensions!
ERROR[PC_texturemunge msh\tel_prop_powerpole_glass.tga]:TextureMunge(tel_prop_powerpole_glass:500x722x1): Must have power of two dimensions!
[continuing]
2 Errors 0 Warnings
Heres what the model looks like ingame.
Hidden/Spoiler:
Image

Re: Textures too dark ingame

Posted: Tue Jan 03, 2012 8:09 pm
by Unlucky13
SpartanA259 wrote:(tel_prop_powerpole_glass:500x722x1): Must have power of two dimensions!
That is most likely your problem. The texture has to be a power of 2 (ie. 256, 512).

Re: Textures too dark ingame

Posted: Tue Jan 03, 2012 8:13 pm
by Marth8880
Do you have a directional light anywhere in your map?

Re: Textures too dark ingame

Posted: Tue Jan 03, 2012 8:32 pm
by SpartanA259
Yes, its the sun. The light is postitioned behind me in the sky when I took the screen shot.

Re: Textures too dark ingame

Posted: Tue Jan 03, 2012 8:35 pm
by Marth8880
It's a directional light, right, and not just the sun FX? I'd also make sure it's casting specular and shadows, since, you know, suns typically do that. :P


EDIT:

Otherwise, then you either should increase the TGA's brightness (and contrast) or increase the value of the diffuse colors if you have the XSI ZE Tools.

Re: Textures too dark ingame

Posted: Tue Jan 03, 2012 10:56 pm
by SpartanA259
Yep its a directional light and it does cast shadows. I also forgot the model is kind of invisible in Zero Editor.
Hidden/Spoiler:
Image

Re: Textures too dark ingame

Posted: Tue Jan 03, 2012 11:20 pm
by FragMe!
Unlucky13 wrote:
SpartanA259 wrote:(tel_prop_powerpole_glass:500x722x1): Must have power of two dimensions!
That is most likely your problem. The texture has to be a power of 2 (ie. 256, 512).
Fix this problem first then see what happens

Re: Textures too dark ingame

Posted: Wed Jan 04, 2012 12:14 am
by SpartanA259
The main poles texture is still messed up but the errors are gone.

Re: Textures too dark ingame

Posted: Wed Jan 04, 2012 11:22 am
by FragMe!
Open the file in XSI with the revised and re-export it. You may have to check the UVs again.
XSI will rescale to the changed sized but it may not be perfect.