[Experimental] AlternativeHairPhysics

Plugins + Scripts [Experimental] AlternativeHairPhysics

Download [<1 MB]
So this was originally intended to replace VAM's hair physics, but I ended up starting with a new renderer and figured the community might want to play with it.

It's far from a finished product - basically just a tech demo, but I thought it was pretty cool.

The original intent was to improve hair smoothness through sub-division, but that exploded the polygon count and tanked performance. So instead we draw simple flat cards based on VAM's hair geometry and a custom fragment shader does the math to figure where the hair would be - painting strands without ever creating them as real 3D objects.

The approach seems to work fairly well, and is comparable to the VAM renderer's performance for some settings. Max settings will still tank performance.

I'll share the shader source a little later. It needs a lot of cleanup.

Enjoy!

Usage
  1. Add to a Person atom.
  2. Select a Hair Group
  3. Configure
    1. Sub-Hair count determines the density - costs FPS
    2. Segments per span increases smoothness - costs FPS
    3. The other geometry sliders configure the look and spacing of the threads
    4. Lighting settings are loosely analogous to VAM's
    5. Tuning settings should mostly be ignored
Bugs/Limitations
  • Does not work in VR (yet)
  • Multi-part hairs require multiple instances of the plugin.
    • Fixing this is a significant refactor that I haven't gotten to yet.
  • Flickering/Lines/Other artifacts
    • Consequence of using a custom rasterizer and me not knowing what I'm doing.


Images and attachments
  • 1787782701644.png
    1787782701644.png
    3 MB · Views: 0
  • 1787782748470.png
    1787782748470.png
    5.2 MB · Views: 0
  • 1787783985165.png
    1787783985165.png
    6 MB · Views: 0

Share this resource

Credits

Creator Support Link
S Stopper

Latest updates

  1. Geometry changes - Various fixes

    I've revamped how spread and alignment works. The various spread sliders were removed. There are...
  2. Better perf - a few fixes

    I tore out the Impostor render mode. It's Compute-only now as that seems to be the better...
  3. Improved AA

    I managed to increase the size of the k-buffer - allowing for better anti-aliasing. I also added...

Latest reviews

Positive
Version: 1
Oh my god, he's back. The wizard. The one who started it all.
Upvote 1
Neutral
Version: 1
How about some instructions on how to use this resource?
S
Stopper
Added a basic usage guide
Upvote 1
Back
Top Bottom