Jump to content

2 alpha channels overlapping in same mesh cause invisibility


gtcard

Recommended Posts

Posted

i have a mesh with overlapping NiTriShapes each with NiAlphaProperty. in nifskope the mesh looks as it should, with 2 layers of partial transparency. once this mesh is rendered in game, the overlapping areas of the mesh are not partially transparent, but are fully transparent--so the parts where they overlap are essentially invisible. i have seen this happen with some meshes before, but i am pretty certain i've also seen overlapping transparent textures which did not do this. how can i get 2 layers of transparency to blend properly, instead of getting full invisibility on the overlapping areas?

Posted

checked the meshes for some soul gems and realized checking Enable Testing on the 2 transparent parts blended them together properly instead of full transparency. not sure what the science is but it seemed to work for this situation

Posted

yeah it seems like the flag numbers are from the checkboxes and flag 4845 is the same setting as checking the Enable Testing box and changing it to Greater. its not a perfect blend because i still see a slight outline around the upper layer which causes full transparency when it overlaps the bottom layer. it's still way better than seeing full invisibility for the entire mesh shape

Posted

You can adjust the threshold to try to remove the white line.

 

White line after adding NiAlphaProperty.

 

 

post-25667-0-37264600-1508116239_thumb.png

 

 

Now after adjusting threshold inside the NiAlphaProperty.

 

 

post-25667-0-38534300-1508116265_thumb.png

 

 

You can adjust the threshold to the best spot.

 

Adjusted to 200 threshold white line is pretty much non existent and the feathers don't affect the feathers on the boot that also have transparency on them.

 

 

post-25667-0-40786700-1508116748_thumb.png

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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