Jump to content

Help making that Latex shine effect


dread74

Recommended Posts

Hi there,

 

I am new to 3d modding but have plenty of experience playing with gimp, textures, layers etc...

 

What I would 'like' to do it create / edit a few simple outfits and give them that nice shiny black latex effect.

I have tried to research this myself as well as seeking help on the loverslab forum and thus far the advise I have been give has been to use nifskope (which I already had from my resarch) to change the glossiness etc...

 

I am using a simple mod from this forum - sorry I forget which now as I've been playing / banging my head against desk now... for a few weeks ! :(

Anyway... a simple wetsuit mod... which I have been playing with the nif file trying and changing pretty much every setting I can see with in most cases no effect whats so ever in game - apart from making the texture completely invisible on occasion!

 

The nif screen grabs the person (who mods for skyrim not fallout) who was trying to help me did seem to lack a few entries that seem to be present in all the nif files for fallout that I have seen - and I have downloaded and looked at pretty much every latex mod I could find...

The Wet Material entry and wetness options... but again I have duplicated these settings from other latex mods and still my wetsuit mod has no latex shine.

I also notice the glossines is normally set to 1 in fallout nif files for latex mods... !?!?

 

Help - someone - please - where am I going wrong ??

 

Thank you in advance.

Link to comment
Share on other sites

Hi Dread,

 

I don't know about changing mesh gloss, but you can change the normal map, whole or in part, to get a more or less glossy look. Rather than type it all again, this thread has the general procedure I use. You'll need GIMP with both the .dds and the normal map plugins, all free.

 

https://forums.nexusmods.com/index.php?/topic/5445322-normal-map-woes/

 

*Mind you, this is meant for Skyrim SE, but I believe it's similar for Fallout.

Link to comment
Share on other sites

@dreadSevenFour-er

indeed, thumbincubation's suggestions are awesome,

(as are some ideas they explore with texture maps and all

GIMP Script-Fu or Python-Pro automating code indeed, dang that's neat! )

and that can open up a whole new world of texture effects and such.

 

blahblahdeeblahblah, damanding etc, they've got some great tutes out there.

 

one word of trepidation though;

we have to be careful how the pathing is handled, and hence nifskope etc is probably required,

metadata pathing and whatnot.

to help avoid some of the 'texture weirdness' that happens,

such as what blahblahDeeblahblah outlines...

https://forums.nexusmods.com/index.php?/topic/5446792-custom-skinned-npcs-fade-out-when-on-fire-why/page-2

the jury is still out as to what specifically causes that invisible ghosting etc.

 

 

  Reveal hidden contents

 

 

I hope some of this was of use in achieving that shiny-reflection-y look,

and you'll have to let us know how you get on,

as that will likely be an awesome reskin/retexture mod to see.

Link to comment
Share on other sites

Unlike Skyrim meshes, with Fallout 4 objects the Normal Map Texture (xxxxx_n.dds) Alpha Channel is no longer used for gloss effects.

 

Part of what you are wanting to create is done with the "xxxxx_s.dds" file = the Specular Map. This file uses two (2) channels, Red and Green, to determine the Reflectivity and Glossiness of the texture.

The Red channel intensity (0<->128<->255) will change the "metalness" of the texture (or reflectivity) and the Green channel intensity (0<->128<->255) will change the "glossiness" or the amount of "shine" that is shown.

 

The other part is done with the Material File ( xxxxxx.bgsm )

 

You can change the colour of the light reflected in the Material File ( "xxxxxx.bgsm" ) and also change it's intensity as well.

 

Finally you can specify in the .nif file shader properties, and then consequently mirrored in the .bgsm file, for the item to use an "Environment Map". This file is essentially a "fake" reflection that will be overlayed onto the texture. Larger and brighter "Cube Maps" (as they are known) will cause shinier or brighter looking texture effects.

 

The material file is incredibly powerful for creating a wide variety of texture effects.

Link to comment
Share on other sites

Edit2:

Ok, trying to keep it simple at this stage... but using your advise... as best I understand it..

 

I have looked at other latex mods and they seem to have the _s file as just a yellow block which is ALL red and green.

and the _n file empty/invisible.

I have replicated this and darkened the _d texture file and hey presto excellent immediate results.

 

However... :smile: ... rather than a smooth finish it seems to have a visibly square pixilated look which I cant seem to establish the source of.

Again lookin at other latex mods the material file is identical, and there are no entries in the textures section in the nif file...

Ummm.... !???

Any ideas ?

Edited by dread74
Link to comment
Share on other sites

Fallout 4 doesn't use the paths specified in the "textures" section in the .nif file. It will ONLY use the files in the .bgsm file.

 

You can try setting the "Alpha" or Transparency of the _n.dds file to +100 (i.e. no transparency/alpha) to see if that is what is causing your pixelation.

 

Also the _s.dds file shouldn't really be a flat bright yellow. Although that will give you a "shiny" look, realistically it should have some texturing or some variation in the colour intensity. Try adding some red and green layer filters to the Diffuse texture to make it "yellowish", then export that as your _s.dds file (making sure to export as ATI2N DDS with Mip Maps) That should give you lighter and darker areas, so it appears more realistic.

 

The amount of Red and Yellow determines how shiny it will be 0 --> 128 is just starting to be shiny 129 --> 255 will make it increasingly shiny. For Vinyl, I would recommend a slightly more greenish yellow. For Latex I would recommend a more Redish yellow (very slightly "orange" even) with intensities around 150~180.

Link to comment
Share on other sites

Thank you so much - very much appreciated -I will try all that...

 

Umm I dont have the ATI2N save type - I have DDS from plugin I downloaded and... I can see there are mipmaps but I dont really know what they are. I just assumed they were layers they were not being used !?

It seems when I save my dds files in gimp2 it loses the mini maps.

Edited by dread74
Link to comment
Share on other sites

Gimme a sec ...

 

Okay ... In Gimp make sure to use "Export As" and select the .dds file extension.

 

For _n,dds and _s.dds files In the settings compression type select "BC5 / ATI2 (3Dc)"

 

For _d.dds files you can use "BC3 / DXT5"

 

(or if you download and install Paint.net, it can save the _d.dds files as the default Microsoft version of "BC5 / DXT5", which has a slightly different/better compression algorithm, so you get less artifacts, it's also used for images that have partial transparency or "blended alpha" parts)

 

Also make sure to select/tick "Generate Mipmaps" (unless you chose to load the mips when you loaded a .dds file, in which case you can "use existing mipmips" option)

 

Don't worry about any of the other "Advanced" options

 

Mip Maps are pre-rendered scaled down versions of the original texture, that are "stored" inside the .dds file (kinda like a .rar or .zip file), which Direct X game engines use when you are viewing an item from various distances. Instead of rendering a 2K texture on an item far away from you or on the other side of the map, it uses one of the pre-generated smaller versions instead. (1024 x 1024, 512 x512, 256x 256 etc) It also saves on having to have the CPU do "on the fly" renders and because the entire file is already loaded, it saves on memory usage and generally external "compression" software (like the nVidia Plugin) does a better job of re-scaling the image than the game engine ever could in real time.

 

It's why it's almost completely worthless to create 4K (4096 x 4096) textures for games like Skyrim or Fallout 4, because the game will virtually never use it unless you run a full 4K setup (which Fallout 4 doesn't natively support, so it's a fake "upscale" anyway) and you are viewing the item from about 2 inches from the camera (like for a screenshot or some such), 2K (2048 x 2048) is all you'll really ever need..

Link to comment
Share on other sites

Top man - thx again. Fountain of knowledge! :D

 

This 3d modding certainly falls into the category of "the more you learn, the more you realise there is still to learn"

 

Oh btw, removing the alpha chan on the _s file caused insta crash every time i tried to craft outfit.

 

I'll get there in the end :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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