Transparent texture?

Post » Thu May 24, 2012 5:16 pm

Is it possible to make a .dds texture that is all transparent?, i tried to save a .dds in photo shop with a black alpha layer but it want save it like that. The alpha layer is removed, i have tried to save in both DXT3 and DXT5.

Is it even possible to make a totally transparent texture?, if so how??
User avatar
Paul Rice
 
Posts: 3430
Joined: Thu Jun 14, 2007 11:51 am

Post » Fri May 25, 2012 5:30 am

What you need to do is to add an alpha property channel to your NiTriShape, in NifSkope. Under the NiTriShape on the NiAplhaProperty Block details you will see a flag that requires some numbers. Play with those numbers and you will start to get some interesting clear effects. 7309 is a light clear number.
User avatar
Queen of Spades
 
Posts: 3383
Joined: Fri Dec 08, 2006 12:06 pm

Post » Fri May 25, 2012 6:56 am

OK, thanks :)
User avatar
Josh Trembly
 
Posts: 3381
Joined: Fri Nov 02, 2007 9:25 am

Post » Fri May 25, 2012 2:00 am

For transparent walls and floors I just use a Collision Marker and rotate it. It saves a lot of hassle :)
User avatar
Lewis Morel
 
Posts: 3431
Joined: Thu Aug 16, 2007 7:40 pm

Post » Thu May 24, 2012 6:34 pm

And you don't need a texture for that at all. Simply set the alpha value in the BSLightingShaderProperty to 0. You still need an alpha property though!
User avatar
Maya Maya
 
Posts: 3511
Joined: Wed Jul 05, 2006 7:35 pm

Post » Thu May 24, 2012 9:35 pm

Doesn't having the whole alpha channel of the texture 100% black make it invisible?
User avatar
Jaki Birch
 
Posts: 3379
Joined: Fri Jan 26, 2007 3:16 am

Post » Thu May 24, 2012 5:39 pm

Another thread for the favourites list. Thanks.
User avatar
Bones47
 
Posts: 3399
Joined: Fri Nov 09, 2007 11:15 pm

Post » Thu May 24, 2012 8:37 pm

@ http://www.gamesas.com/user/602151-hlvr/

As i wrote, you can't save an .dds with the alpha 100% black...it removes the alpha.


@ http://www.gamesas.com/user/792503-fragginborn/ & http://www.gamesas.com/user/237180-phitt/

Well there is times when this will not work, it's OK for static objects and such.
User avatar
Amy Cooper
 
Posts: 3400
Joined: Thu Feb 01, 2007 2:38 am

Post » Fri May 25, 2012 8:56 am

Ah yes. What do you do then? Is there a format that it can be saved in that is also supported by the game engine?

I've seen for instance HUD texture mods that have "transparent textures" to remove HUD, without any other alteration. How did they do that?
User avatar
James Potter
 
Posts: 3418
Joined: Sat Jul 07, 2007 11:40 am

Post » Fri May 25, 2012 12:43 am

@ http://www.gamesas.com/user/792503-fragginborn/ & http://www.gamesas.com/user/237180-phitt/

Well there is times when this will not work, it's OK for static objects and such.

Why? You can do what I described to any model, not just statics. If you can apply a texture and an alpha property then you can also apply no texture and an alpha property and change the LightingShaderProperty settings. It's faster, saves texture space and you have less unneeded clutter in your mod.

Anyway, if for some reason you can't do this (though I don't know why) then you could use a little trick to save your texture. I didn't know that a completely black alpha channel gets removed when you save the texture (tested it and it is indeed true), but when I made a single pixel with a RGB value of 1/1/1 it saved the alpha channel. That's nothing you would ever see in game and it's 99.9% transparent anyway.
User avatar
u gone see
 
Posts: 3388
Joined: Tue Oct 02, 2007 2:53 pm

Post » Fri May 25, 2012 1:41 am

What exactly is it that you are trying to do?
Are you trying to do torn flags/clothes, transparent glass armor, invisible wall?
User avatar
Ryan Lutz
 
Posts: 3465
Joined: Sun Sep 09, 2007 12:39 pm

Post » Thu May 24, 2012 7:39 pm

@ http://www.gamesas.com/user/602151-hlvr/

As i wrote, you can't save an .dds with the alpha 100% black...it removes the alpha.

What's that for a buggy program? If it'd be white, that could be stripped, yes. (Alpha is implicitly white in graphics hardware when not read from a texture-channel)
User avatar
Oyuki Manson Lavey
 
Posts: 3438
Joined: Mon Aug 28, 2006 2:47 am

Post » Thu May 24, 2012 5:55 pm

What's that for a buggy program? If it'd be white, that could be stripped, yes. (Alpha is implicitly white in graphics hardware when not read from a texture-channel)

Photoshop CS2 with Nvidia plugin does that in my case (and I guess the plugin is to blame). Probably because a completely black alpha channel is under almost all circumstances just as useless as a completely white channel.
User avatar
SexyPimpAss
 
Posts: 3416
Joined: Wed Nov 15, 2006 9:24 am

Post » Fri May 25, 2012 7:17 am

Well, if they make that assumption, couldn't they better refuse to save the texture at all (a fully transparent texture is no texture, ain't it)? :P
And white isn't useless, if you want to have shiny vinyl cat-suits it's the way to go ....
User avatar
Madison Poo
 
Posts: 3414
Joined: Wed Oct 24, 2007 9:09 pm

Post » Thu May 24, 2012 4:19 pm

@ http://www.gamesas.com/user/237180-phitt/
Exactly and the newest dds plug-in from nVidia is adding a alpha layer on every texture you save, so that causes another problem instead :(
User avatar
Conor Byrne
 
Posts: 3411
Joined: Wed Jul 11, 2007 3:37 pm


Return to V - Skyrim