BourgeoisBanana Posted January 29, 2016 Share Posted January 29, 2016 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 More sharing options...
Hallgarth Posted January 29, 2016 Share Posted January 29, 2016 try changing the nialphaproperty flags to 4844 with a threshhold of 127. My guess is it's at 4845 or 4333. (most common) Link to comment Share on other sites More sharing options...
prensa Posted January 29, 2016 Share Posted January 29, 2016 (edited) 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 January 29, 2016 by prensa Link to comment Share on other sites More sharing options...
BourgeoisBanana Posted January 29, 2016 Author Share Posted January 29, 2016 Awesome, that worked perfectly! Thank you both very much for your help, I appreciate it a lot. Link to comment Share on other sites More sharing options...
Recommended Posts