Difference between revisions of "User talk:DavidJCobb/Tutorials/Editing NIFs"

→‎Editing Skyrim hairs: note on exactly how the alpha blending breaks shaders
imported>DavidJCobb
imported>DavidJCobb
(→‎Editing Skyrim hairs: note on exactly how the alpha blending breaks shaders)
Line 2: Line 2:
'''Use case:'''
'''Use case:'''


* Vanilla Orc hairs for women are modeled ''terribly.'' You'd expect the non-hairline NIF to contain the bulk of the hair and the hairline NIF to just have the parts that need to blend; in practice, ''both'' NIFs contain the bulk of the hair, and the hairline NIFs' bulk actually covers the non-hairline meshes. This wouldn't be a problem except that while most of the hairline meshes are therefore opaque, alpha blending is enabled for the whole meshes, and that prevents EffectShaders from affecting them. I'm working on a fix to go in my "tweaks" mod, wherein I edit the hairline NIFs and split the meshes.
* Vanilla Orc hairs for women are modeled ''terribly.'' You'd expect the non-hairline NIF to contain the bulk of the hair and the hairline NIF to just have the parts that need to blend; in practice, ''both'' NIFs contain the bulk of the hair, and the hairline NIFs' bulk actually covers the non-hairline meshes. This wouldn't be a problem except that while most of the hairline meshes are therefore opaque, vertex alpha blending is enabled for the whole meshes, and that blending prevents EffectShaders from affecting them. I'm working on a fix to go in my "tweaks" mod, wherein I edit the hairline NIFs and split the meshes.
** Tutorials claim that changing the "flags" on the NiAlphaProperty will fix EffectShaders. This is misleading. The "flags" aren't a bitmask; they're actually the entire set of alpha settings. Moreover, it's really only ''one'' flag inside of that data that has an effect, and it's the flag to force one-bit alpha with a threshold (as opposed to a smooth blend, which is what the textures are designed for). So no. That's not a fix.
* Test case is female Orc hair 05 since that's what I was using on my character at the time.
* Test case is female Orc hair 05 since that's what I was using on my character at the time.


Anonymous user