• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.
Custom Shader - CUA Hair

Assets + Accessories Custom Shader - CUA Hair

Download [1.95 MB]

regguise

Well-known member
Featured Contributor
Joined
Nov 20, 2021
Messages
124
Reactions
935
regguise submitted a new resource:

Custom Shader - CUA Hair - Who needs PBR anyways?

This is a Unity shader designed for CUA Hair. (hair cards, mostly)
It is packaged into an assetbundle and to be used via this plugin:



Some before, after comparisons:

[ATTACH type="full"...

Read more about this resource...
 
How do you access to the rogue hair, so I can load your plugin ? I'm a total noob on this.
When I'm doing on the person, I have Cloth and skin but no CUA.
 
Ok found it. I think. But, how can I save and reload it without too many click. Does it work wirh Blazedust.CUAM CustomUnityAssetManager ?
I don't found my saved asset in the list.
 
Ok found it. I think. But, how can I save and reload it without too many click. Does it work wirh Blazedust.CUAM CustomUnityAssetManager ?
I don't found my saved asset in the list.
Yes like I mentioned in the post you would need to use CUAManager to save the preset.

Although for rogue hair you don't really have to load this shader as the hair already comes with this shader pre-applied. You can still load it to tweak the parameters if you desire.
 
Wonderful plugin! Works flawless with CUA hair, but how can I save and autoload plugin with hair that made as STOPPER CUA clothing?
Or could I save my values as preset?
thanks!
Untitled-1.jpg
 
Wonderful plugin! Works flawless with CUA hair, but how can I save and autoload plugin with hair that made as STOPPER CUA clothing?
Or could I save my values as preset?
thanks!
View attachment 490463
Hi, sorry for missing you reply.

Stopper's clothing plugin manager doesn't save CUA's plugin data. So you'll need to use CUAManager plugin for this.
 
Diana from Hitman 3 being unreleased is crazy o_O
It was an earlier port I did. Not completely satisfied with it so didn't post it. I'll redo one some time later.
 
regguise updated Custom Shader - CUA Hair with a new update entry:

Updates

Updates to sync this release to the version used in my Chunli look:
  • Tweaked the fake SSS code. Now at low SSS value the hair won't get darkened
  • Removed specular highlight from transparent passes to boost some performance
  • Added a variant: RegguiseUnityHairShader_MSAA - where MSAA will be applied using VaM's MSAA setting.
    • It can eat some FPS for close ups and higher res meshes. But will give...

Read the rest of this update entry...
 
hi!!

newest patch dont work with most / all of the cuas thats been working in previous version.

i will use the custom shader cua hair.3 for the time being
1756375072343.png
 
hi!!

newest patch dont work with most / all of the cuas thats been working in previous version.

i will use the custom shader cua hair.3 for the time being
View attachment 519829
Can you provide a bit more detail? Are you loading an old scene or a old preset? What happens when you load it fresh on a new CUA?
 
regguise updated Custom Shader - CUA Hair with a new update entry:

Scatter Update & Optimization

Well I finally figured out why light atten was not working for me and it was because my dumbass couldn't tell the difference of one underscore and two :(

Update:

  • Now has proper scatter effect from strong light source, and correct shadow attenuation calculation. The lighting should be much more accurate under setup with large dark/bright contrast. (i.e. no more bright)
...

Read the rest of this update entry...
 
regguise updated Custom Shader - CUA Hair with a new update entry:

MSAA variant update

MSAA variant update

  • Added the missing json file for MSAA variant
  • Removed transparent passes as with AlphaToMask it is not really needed anymore
  • Added two new properties to better control alpha
    • Alpha Transition High / Low
      • Default to 0.95 / 0.05, most of the time you don't need to adjust these, but sometimes the alpha channel of the main texture may not have very good distribution, in such cases you'll see transparent edges on the hair being too...

Read the rest of this update entry...
 
I'm trying to change the shadow, but the Alpha Cutoff Shadow setting doesn't seem to do anything. Is this just me?
 

Attachments

  • shadow.mp4
    5 MB
I'm trying to change the shadow, but the Alpha Cutoff Shadow setting doesn't seem to do anything. Is this just me?
It is a known issue. Currently it doesn't do anything. I have update coming. Thanks for reporting.
 
regguise updated Custom Shader - CUA Hair with a new update entry:

Alpha/Shadow updates

  • Fixed shadow casting not clipping with alpha - shadow and scattering should look much better now
    • Alpha Shadow Scale - no need to adjust this most of the time, unless for certain light setup
    • Alpha Shadow Cutoff - adjust this if you think the shadow is too broad/narrow
  • MSAA variant only - Added Alpha scaling with mip level
    • Enable Mip Level Alpha Scaling
      • Use this if you see hair becoming too transparent at a distance and adjusting other...

Read the rest of this update entry...
 
Back
Top Bottom