Jump to content

transparency problem


Gambit77

Recommended Posts

I'm having trouble with a little project.

I decided to make Sinlood's Steamjunk Goggles have transparent lenses, because I'm a stickler for having glasses I can see through.

Anyhow I believe I altered the alpha layer of the diffuse texture properly.

http://static-3.nexusmods.com/15/images/130/2695294-1405446133.jpg

 

I've added the nialphaproperty to both the regular and raised meshes, and the transparency works properly in nifskope.

http://static-2.nexusmods.com/15/images/130/2695294-1405446190.jpg

 

But when I test it ingame the transparency just isn't working.

http://static-2.nexusmods.com/15/images/130/2695294-1405446231.jpg

 

Does anybody have any idea what the issue could be? I haven't seen anything anywhere about changes I have to make to the plugin or game inis or anything like that.

Link to comment
Share on other sites

Damn, I added transparency to the environmental map, but that didn't fix the problem. I tried it first with partial transparency, and then again with full transparency. It looked exactly the same in game.

 

Do I need to go full transparency with the diffuse texture, because I went partial because I wanted the lens to be tinted? Scratch that idea, still getting the exact same appearance.

 

Do I need to alter the alpha layer of the normal map? That didn't fix it either.

 

I also tried removing the cube map reference from the texture paths in the .nif file

Edited by Gambit77
Link to comment
Share on other sites

OK, gonna move some comments over from the image section to here.

 

from Macintroll

"The useful information are not visible in your screen (lower part of nifskope)
Check the transparency flag try with flag 4845 for example"

 

Is this where you were referring to, that I should make the change?

http://static-1.nexusmods.com/15/images/130/2695294-1405452169.jpg

 

from imu333

"Make sure you've enabled alpha textures in Nifskope
BSShaderPPLightingProperty > under Shader Flags, make sure "SF_Alpha_Texture" is ticked"

 

No it's not ticked, but I don't understand how to change the entries for Shader Flags. How would I add that or tick that?

http://static-4.nexusmods.com/15/images/130/2695294-1405452203.jpg

Link to comment
Share on other sites

AS Kuroitsune said, double click on SF_Buffer_Test, for example

 

A dropdown button should now appear to the right of SF_Buffer_Test,

 

After that tick SF_Alpha_Texture

 

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

 

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

 

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

 

Hopefully this helps :)

Link to comment
Share on other sites

Ok, this is where I'm at.

Here are the changes to the diffuse

http://static-3.nexusmods.com/15/mods/130/images/49257-1-1405455400.jpg

 

Here are the changes to the em

http://static-3.nexusmods.com/15/mods/130/images/49257-2-1405455400.jpg

 

And the changes I've made to the .nif are:

adding the NiAlphaProperty

changing the BSShaderPPLightingProperty Shader Flags to SF_Alpha_Texture

changing the NiAlphaProperty Flags to 4845

 

Here are shots of the .nif file

http://static-3.nexusmods.com/15/mods/130/images/49257-3-1405455401.jpg

http://static-3.nexusmods.com/15/mods/130/images/49257-4-1405455401.jpg

http://static-3.nexusmods.com/15/mods/130/images/49257-5-1405455401.jpg

http://static-3.nexusmods.com/15/mods/130/images/49257-1-1405455640.jpg

http://static-3.nexusmods.com/15/mods/130/images/49257-2-1405455641.jpg

http://static-3.nexusmods.com/15/mods/130/images/49257-3-1405455641.jpg

 

Would any more info be helpful?

Link to comment
Share on other sites

I fixed changing the BSShaderPPLightingProperty Shader Flags to SF_Alpha_Texture, and instead added it to the other flags. Had to update Nifskope, the one I was using didn't have the drop down menu.

http://static-3.nexusmods.com/15/mods/130/images/49257-1-1405457566.jpg

But it still doesn't show up right in game.

http://static-3.nexusmods.com/15/mods/130/images/49257-2-1405457567.jpg

Link to comment
Share on other sites

Don't un-tick the other shaders!

 

And if I'm not mistaken, .dds files do not support transparency, except through alpha layer.

 

And also make sure you export your .dds with DXT5 | interpolated alpha

 

EDIT: and make sure you have SF_Shadow_Map ticked

Edited by imu333
Link to comment
Share on other sites

Yeah, I already fixed the un-ticked shaders, and I've added SF_Shadow_Map.

http://static-4.nexusmods.com/15/mods/130/images/49257-1-1405460206.jpg

 

I've been saving the textures with DXT5.

 

Unfortunately, it's still not working ingame.

 

Not sure if this would help at all.

http://static-4.nexusmods.com/15/mods/130/images/49257-2-1405460206.jpg

Edited by Gambit77
Link to comment
Share on other sites

  • Recently Browsing   0 members

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