• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. 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.
Custom Shader - CUA Hair

Assets + Accessories Custom Shader - CUA Hair

Download [1.89 MB]
Now you can pick root and tip color tint for the hair

  • Removed _Color property
  • Added Root Color, Tip Color, Original Diffuse Color offset, Use Original Color, Color Gradient Rotation, Color Roll off

The new properties:
  • Use Original Color
Unchecking this will make the hair use color purely from Root Color and Tip Color, the original texture's color value is discarded.
  • Original Diffuse Color Offset
When "Use Original Color" is checked. This offsets the original texture's color value. When "Use Original Color" is unchecked, this property has no effect.
  • Root Color / Tip Color
Works similar to VaM's native hair properties. Except depending on the texture UV, some hair strands may not have same gradient as the others. This is due to some hair texture have multiple rows of hair strands along same axis. It is impossible to determine where the root starts and where the tip ends without providing an additional texture map with that info. I am looking into a solution.
  • Color Roll off
Works similar to VaM's native hair property
  • Color Gradient Rotation
This determines which direction the shader treats as root/tip. default is 0. values:
0.00/1.00 = +y (up)
0.25 = +x (right)
0.50 = -y (down)
0.75 = -x (left)

If you see the root/tip colors are inversed and/or not going in the right direction, try changing to one of the values above to flip the direction.
Added double side mode for back faces

Now both ShowBackFace and DoubleSided default to ON.

1747438370040.png


DoubleSided will only active when ShowBackFace is also ON

Now it should look best with them both ON in most cases I can think of. But do still try toggle them to see what looks better.

Thanks to @BooMoon for testing.
Back
Top Bottom