Jump to content

How to add NiAlphaProperty to BSSubIndexTriShape?


Belthan

Recommended Posts

I'm trying to add an alpha property to a a BSSubIndexTriShape block. Right click the block, Block->Insert->NiAlphaProperty creates a new NiAlphaProperty, but it's added as a child of the scene root rather than the BSSubIndexTriShape block. Using NifSkope 2.0.0 Pre-Alpha 4.

 

EDIT: Never mind, figured it out. For anyone else who has the same question: go to the BS Properties list in the BSSubIndexTriShape, add the index of the new NIAlphaProperty, and there you go.

Link to comment
Share on other sites

Okay, so I figured out how to add the alpha property, but I'm still having problems. I'm trying to make a "cutout" in the back of a dress, but it isn't becoming transparent. I have the following:

 

- The BSSubIndexTrishape block in the nif has NiAlphaProperty with flags=4844, threshold=0

- The material (bgsm) file has Alpha Test checked and is pointing to the correct dds files

- The diffuse dds has an alpha channel with transparency where the cutout should be

 

But... the dress still doesn't have the "cutout" in game. Any idea what I'm missing?

Link to comment
Share on other sites

Changed threshold to 128 but no difference.

 

EDIT: Okay, after a little more experimentation I increased the intensity of the alpha channel in the dds and the cutout is now transparent. Yay! Which brings up another question that I will ask in a more appropriately named thread. Thanks for the assist, rickerhk.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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