DigitalEro Offline

Unable to add transparency to Sandra's Dress (noob question)

Thu, 03 Oct 2013 17:01:11

bioniman

Hi, I'm a newcomer, and I've still quite a noob with Gmod (I've been toying with it just a few days), but I'm learning at a decent pace, I think. Forgive my grammar if you see any mistakes, my english is mediocre at best. Well, let us proceed to the main problem: Recently, I saw this amazing picture of that famous Sandra gmod character: I know that the author (who i know that is a remarkably important person around here xD) simply used a Gimp trick to make the dress transparent, but I really wanted to reskin her dress to look like that without need of image editing, because, you know, is really hot xD. So I've been doing my research about how to modify the alpha channel of her dress texture, but I've been unable for now, and I don't really know if It's posiible. These are the steps I followed. Remember, I'm a complete noob: 0-) I assumed that Sandra's dress texture is LDress.vtf 1-) I installed Vtfedit (the old 1.2.5 version, since 1.3.3 does not work for me), and certainly, it seems that I was right about LDress.vtf being the right texture file. I exported LDress.vtf as a .tga image file, LDress.tga 2-) I installed Paint.net (I didn't wanted to install an extremely heavy program such as Photoshop for an edit I expected to be really simple), opened LDress.tga, went to Layer properties (F4 hotkey), and changed Opacity (image's transparency) from the default 255 (competely opaque) to 112 (which should be quite transparent). I saved the .tga file, and obviously chose to save it in the 32 bits format, not the 24 bits format. The resulting .tga file still occupies exactly the same memory as the original .vtf file, so I don't think any information was lost in the process. 3-) I imported again the .tga with Vtfeditor, changing the alpha format to RGBA8888, (the same one that Vtfeditor claims that the unmodified LDress.vtf has). I pressed Ctrl+Shift+A to check if the alpha channel was changed, and it was competely grey, insted of completely white, so I assumed that it worked. 4-) I replaced the original texture with the resking and tested it on Gmod... but it does not seem to work D: Her dress is as opaque as always. So if any one knows how to make transparent reskins, I do hope that you can help me. I don't really require a solution for Paint.net, so I any working solution for other programs, such a Gimp would be much appreciated. I would rather not install Photoshop, since it's huge. But i'm a complete noob in all of them. Or maybe I'm not importing well the .tga with Vtfeditor? A noob-friendly explanation would be really nice. Regards.
Thu, 03 Oct 2013 17:52:33

Vitezislav

To make clothing transparant you need to edit the normal map. Just convert the normal map to tga or whatever and open it in GIMP/Photoshop and lower the opacity. For GIMP there is a plugin that lets you save your image as a vtf file.
Thu, 03 Oct 2013 18:15:36

bioniman

Thanks for your answer, mate. I guess that the normal map file would be LDress_n.vtf, right? I'm going to install Gimp and that plugin, and give it a try.
Thu, 03 Oct 2013 18:45:01

Rastifan

Ah my old pose^^
Thu, 03 Oct 2013 19:18:07

bioniman

I've installed Gimp and the VTF plugin, and I lowered opacity from both LDress.tga and LDress_n.tga down to a 50% and saved them again as .vtf files by using Gimp's VTF plugin, but still no luck, the dress is still fully opaque. Do I have to edit something from the LDress.vmt file? I read about a pair of properties which could be related, "$translucent" 1 property, and "$alphatest" 1
"Rastifan" said ...
Ah my old pose^^
And a really beatiful one! EDIT: I finally made it! :mrgreen: I needed to add "$translucent" 1 as a property in the .vmt file. Now I only need to recolor the dress, transparent white is so hot xD. Is there any white skin already done?
Thu, 03 Oct 2013 19:33:54

Rastifan

"bioniman" said ...
And a really beatiful one! I've seen tons of skins on this forum... is it really that hard to make a texture transparent?
I do basic textures. Not sure I can advice on the deeper aspect of it.
Thu, 03 Oct 2013 19:36:08

bioniman

I've already done it :mrgreen: , I just edited my previous post explaining what I was lacking. Is there any white color skin for Sandra's dress? I haven't seen it into Sandra's release thread.
Thu, 03 Oct 2013 19:59:10

Rastifan

"bioniman" said ...
I've already done it :mrgreen: , I just edited my previous post explaining what I was lacking. Is there any white color skin for Sandra's dress? I haven't seen it into Sandra's release thread.
Will make one and send you the texture tomorrow.
Thu, 03 Oct 2013 20:22:00

bioniman

"Rastifan" said ...
"bioniman" said ...
I've already done it :mrgreen: , I just edited my previous post explaining what I was lacking. Is there any white color skin for Sandra's dress? I haven't seen it into Sandra's release thread.
Will make one and send you the texture tomorrow.
Thanks a lot! I will upload eventually both black and white transparent dresses in Sandra's release thread, maybe with different transparency levels :mrgreen:
Fri, 04 Oct 2013 01:54:13

bioniman

I just did a cute pose for showing you the transparent dress. Sandra and Lilth in their wedding night, just about to consumate their love. :oops: Notice that I also turned Lilith's lingerie blue fabric transparent. With a white dress, Sandra will look even cuter for this pose :oops: I still don't really know how to adequately use light sources, so sorry about the poor lightning. It has a little glitch though. I don't really know how to fix it. A really nice improvement for Sandra's model would be having a bodygroup with both the dress and the breast chain at the same time, just like with the pagan priestess' picture. It would be really neat for transparent clothing.