• 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.
Auto Pupil

Plugins + Scripts Auto Pupil

Download [0.01 MB]
? 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

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

Positive
Version: 8
Posted:
Great detail
Upvote 0
Positive
Version: 8
Posted:
Nice work, love the realism contribution.
Upvote 0
Positive
Version: 8
Posted:
Essential, love it. Brings a lot of realism to the model. Thanks!
Upvote 0
Positive
Version: 8
Posted:
It's great!! Little details that bring the characters to life.
Upvote 0
Positive
Version: 8
Posted:
How on earth did I miss this - absolutely brilliant work - Thanks
Upvote 0
Positive
Version: 8
Posted:
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
Positive
Version: 0.7
Posted:
love this
Upvote 0
Positive
Version: 3
Posted:
For scenes with dynamic lighting or close ups, this makes for some convincing eye reactions!
Upvote 0
Positive
Version: 3
Posted:
Amazing, you help to make my models come alive :)
Upvote 0
Back
Top Bottom