• Promotional Link field now provided for resources to allow Hub upload and external link at same time. Please see this link for more info
  • New Hub Feature: Automatic Hub-Hosted VAR tags. Please see this link for more info
Auto Pupil

Plugins Auto Pupil 8

😍 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.
Author
lfe
Downloads
9,781
Views
9,781
First release
Last update
Rating
5.00 star(s) 6 ratings

More resources from lfe

Share this resource

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

It's great!! Little details that bring the characters to life.
How on earth did I miss this - absolutely brilliant work - Thanks
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!
love this
For scenes with dynamic lighting or close ups, this makes for some convincing eye reactions!
Amazing, you help to make my models come alive :)
Top Bottom