hair shader fix

by cakeofhonor·v1.3·Updated 2020-06-22

Changed the hair shader for moderate hairstyles to be more consistent with the vanilla hair shader.

Screenshots 2 screenshots

About this mod Machine translation

Changed the hair shader for moderate hairstyles to be more consistent with the vanilla hair shader.

I'm surprised no one has done this yet, but here's an xEdit script to change the hair shader on some mods to be more consistent with the vanilla shader. This means it can now be affected by flesh spells and shader effects like R.A.S.S. Or the ENB rain shader. You do lose a small amount of aesthetics since the hair won't fade as easily, but I prefer the rough look regardless.

This script scans your ESP load order and edits the relevant NPC FaceGeom or Head Part NIF and changes the value of its NiAphaProperty to 4844. It works with "New/Vanilla Alternative Hairstyles" and "NPC Overhaul".

Install:

Drag and drop into xEdit's "Edit Scripts" folder.

usage:

Load xEdit and run "000_cHON_HairShaderPatcher.pas". It will automatically scan the entire load sequence and apply necessary changes.

An error may pop up, but usually, it means that the referenced file cannot be found. This could mean that it was packaged in a BSA, or that the record was forgotten about and never deleted (like KS's Hairdos). These can be ignored as the patch will not save the NIF unless everything is working properly.

This script only works for mods that have a .txt file in the xEdit\EditScripts\cHON\HairShaderPatcher\ folder. I do this because I don't want to make wild edits to the mesh that I don't need, and it also saves time. NPC Overhaul does not require you to edit the Head Parts included in the mod, as they are only used to generate FaceGeom files. Near-bald hairstyles also depend on transparency to make them look right, so a blacklist can be set in a .txt file.

If you are using a universal patch for VHR, run this patch on VHR first and then regenerate FaceGeoms in CK to apply the changes to all NPCs.

List of compatible/supported mods is here.

If you make config files for other modules and would like me to include them here, please hit me up. I'll try to add more support myself when I have more time.

This is the first script I've completed, so if you have any questions please let me know.

credit:

The xEdit team provides such a great tool.

xEdit Script - Batch Change Skin Glossiness is where I first discovered that Nifs could be edited by xEdit.

The Panhalable's Lethal Ladies for the super aesthetic Jenassa shown in the screenshot.

——————————————————————————————

I'm surprised that no one has done this yet, but here's a xEdit script to change the hair shaders on certain mods to be more consistent with the vanilla ones. This means that it can now be affected by spells like the flesh spells and also shader effects like R.A.S.S. or the ENB rain shader. You do lose a small amount of Aesthetics because the hair will not fade as nicely, but I prefer the rougher look anyways.

The script scans your load-order for ESPs and edits the relevant NPC FaceGeom or Head Part NIFs and changes the value of their NiAphaProperty to 4844. It works for both New/Vanilla Replacer Hairstyles and NPC Overhauls.

Install:

Drag and drop into xEdit's "Edit Scripts" folder.

Usage:

Load xEdit and run "000_cHON_HairShaderPatcher.pas". It will scan your whole load-order automatically and apply the changes necessary.

Errors might pop-up, but usually, this means that the file being referenced cannot be found. This might mean that it is packed in a BSA or that a record was leftover and never removed (like in the case of KS's Hairdos). It's fine to ignore these as the patcher won't save the NIF unless everything goes right.

The script will only run for mods that have a.txt file in the xEdit\EditScripts\cHON\HairShaderPatcher\ folder. I did this because I didn't want wild edits to meshes that don't need it and also to save time. NPC overhauls do not require you to edit the Head Parts that are included in the mods because those are only used to generate the FaceGeom files. Near bald hairstyles also depend on the transparency to look right, so a blacklist can be set in the.txt file.

If you …

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
  3. Place the files exactly as the readme says; mods with listed dependencies need those installed too.
  4. Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.

Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.

File & checksum

Filename
头发着色器修补程序
File size
7.4 KiB
SHA-256
33e5ed028bd8b9f956b5c7b1850316e649d4d7b3d0908faae7ec9b7248147f0a
Stored at
2026-10-09 18:21