Jump to content

NifSkope Texture Trouble


BourgeoisBanana

Recommended Posts

I'm having trouble with a custom texture of mine that I know I've fixed before, but for the life of me I can't remember how to do it again. I'm 99% sure it's a NifSkope issue, some flag I need to set or something

 

http://i.imgur.com/As5N1ny.png

 

I don't know how easy it is to see, but for some reason there's large invisible gaps in several places on my custom mesh, but not on the original. The gaps are pretty subtle here, but if I zoom out they get much more noticeable.

 

If anyone has any idea how to solve this (as I said I'm pretty certain it's a Nifskope issue) I'd really appreciate it!

Link to comment
Share on other sites

BourgeoisBanana - Hello!

Looks like it could be an issue with a NiAlphaProperty.

Those rails look like they're using a transparent texture to give the illusion of gaps, which would mean they have a NiAlphaProperty within their NiTriStrip.

If you've exported the model from Blender after doing some work on it then the NiAlphaProperty's Flag will be set to 4845 by default. Not always suitable to the needs of the model in game.

Check the NiTriStrip of the part with the edges on your model, look for a NiAlphaProperty, expand that & in Block Details locate the "Flags" setting. There's also a setting under it called "Threshold" that will have a number like 128 or 160 etc. that controls the blending of the edges too.

Compare it to the vanilla model where the edges look right & copy them over to your version.

If you've not edited the model (mesh) but only the texture then make sure you've saved it with the correct compression format.

DXT1 won't have a suitable Alpha layer for transparent textures, you need to save as DXT3 or DXT5.

Hope this helps!

Prensa

 

EDIT: Hallgarth beat me to it, must be getting slow(er) in my old age. :)

Edited by prensa
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...