Auto Pupil

Plugins Auto Pupil

😍 Like this? Consider gifting the community a creation in my name or even a private gift to me.
* I choose not to have a Patreon (love all you who do)

Auto Pupil Plugin

Add this plugin to a Person.

Play with lights. Make the person blink. The pupils will react.

Special Features:
- Any light intensity on face works: scene lights, global ambient, skybox
- Shadows are taken into account
- Light color also a factor. Human perceived brightness of certain colors over others is taken into account.
AutoPupilDemo.gif


Using It

Add this to a Person atom
* If you Show Hidden atoms, you may notice a strange LightDetector-FFFF atom. This plugin made that so no touchy

Brightness Poll Delay

How frequently (in seconds) to calculate the amount of light around the eyes. Lower is more responsive but harder on the FPS (by about 3-4). Default: 0.25 which is right in the range of a real delay our eyes have when reacting to light.

Light Adjust Within

How long (in seconds) the pupil contract animation should take when adjusting to more light. Making this smaller will make pupils move faster. Larger value makes movement more smooth.

Dark Adjust Within

How long (in seconds) the pupil dilate animation should take when adjusting to a less light. Making this smaller will make pupils move faster. Larger value makes movement more smooth.

Idle: Adjust Over Seconds

When light is not changing, pupils can idle randomly. This Is how fast the pupil changes (in seconds) happen when idling. Making this smaller will make pupils move faster. Larger value makes movement more smooth.

Idle: Strength

The maximum amount +/- the pupil dilation morph will randomly change (in absolute morph value changes) when idling. Keep this value really small unless you want the eyes to go crazy.

Turn this down to 0 to basically disable idling.

Idle: Next Random Run

The maximum amount of time (in seconds) to wait before playing the next idle animation.
  • AutoPupilDemo.gif
    AutoPupilDemo.gif
    7.5 MB · Views: 0
Author
lfe
Downloads
160,765
Views
160,765
Packages
1
Total Size
0.01 MB
Version
8
First release
Last update
Rating
5.00 star(s) 9 ratings

More resources from lfe

Latest updates

  1. fix: loading scenes with this plugin work now

    If you saved a scene with this plugin on a person, a rogue image panel would show up. No more...
  2. I broke VR support...

    Now it is fixed. Thanks @DaveyJonesFlannel for letting me know something was wrong.
  3. Performance fix

    3-4 FPS penalty has been fixed. Thanks to @Acid Bubbles for some ideas and the reminder that...

Latest reviews

Great detail
Upvote 0
Nice work, love the realism contribution.
Upvote 0
Essential, love it. Brings a lot of realism to the model. Thanks!
Upvote 0
It's great!! Little details that bring the characters to life.
Upvote 0
How on earth did I miss this - absolutely brilliant work - Thanks
Upvote 0
Such a wonderful plug-in. Every new feature that creators come out with astounds me. VaM feels so close to real now. Thanks for this!
Upvote 0
love this
Upvote 0
For scenes with dynamic lighting or close ups, this makes for some convincing eye reactions!
Upvote 0
Amazing, you help to make my models come alive :)
Upvote 0
Back
Top Bottom