• 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.
Light Options

Plugins + Scripts Light Options

Download [0.01 MB]
Allows configuring some Unity Light options that the default UI doesn't have.

The default Light UI in VAM doesn't show all of the available parameters, and some aren't fully set up. For example, the 'point bias' will affect shadowBias for point lights but not spot lights.

This plugin surfaces some of these settings for finer-grained control.

I recommend reading through Unity's shadows overview for a high-level overview of what these settings do.

Thanks to @WeebUVR for the idea.

Usage
  • Add to a Light atom or as a session/scene plugin.
  • Configure using plugin UI.

Currently supports:
  • shadowCustomResolution: In some cases where lights are far away, raising this to a high value can make a noticeable difference.
    • Is capped by Unity based on machine resources.
    • Works best with spotlights. Less effect with point and directional.
    • 'Very High' shadow settings are at 12.
    • 1691170035119.png1691177840099.png
  • shadowBias: Shadow caster surfaces are pushed by this world-space amount away from the light. Lower values result in higher fidelity shadows, but going too low produces artifacts.
  • shadowNormalBias: Similar to shadowBias, but only affects directional lights.
  • shadowNearPlane: This determines how close to the light shadows will stop being rendered from an object.

Credits
@WeebUVR - Original idea
@ptrxxx - Icon screenshots

  • Screenshot 2023-08-04 142811.png
    Screenshot 2023-08-04 142811.png
    359.2 KB · Views: 0

Share this resource

Latest updates

  1. [Beta] Clothing Layer Selection

    Prototype implementation for clothing layer selection. By default, VAM renders clothing into...
  2. Prototype for Culling Masks and Selective Lighting

    Added toggles to non-session instances of LightOptions that toggle which game layers are...
  3. Added shadowNormalBias and shadowNearPlane. Minor tweaks

    Added shadowNormalBias (directional light only) and shadowNearPlane Tweaked slider quick-button...

Latest reviews

Positive
Version: 5
Posted:
Every microdetail in scene realism adds up... lights needed some love too, so my thanks to you!
Upvote 0
Positive
Version: 5
Posted:
This is absolutely invaluable thanks so much! Have you considered implementing a toggle for light source reflections? if even possible
Upvote 0
Positive
Version: 5
Posted:
Your plugin changed and renewed my screenshots sessions so much, thank you for this amazing gift to the community !
Upvote 0
Positive
Version: 5
Posted:
This probably has been asked but where can I get the model? Thanks and great plugin ofc
Upvote 0
Positive
Version: 5
Posted:
Just when I had fps problems with light affecting already baked light environments... BAM! BAM! BAAAAAAAAAAM!

Stopper fixes all my problems yet again... 25fps gain...
Upvote 0
Positive
Version: 4
Posted:
This plugin seems to combine very nicely with hazmhox's VaMTweaks, as well as with the most recent version of the AnimeCelShader from HuntingSuccubus. Shadows improve considerably with the best settings.

I swear, lighting/shading in first-gen VaM just keeps getting better and better. It's crazy how much this application has evolved since the beta days, and it's largely thanks to all you generous talented types. Thank you.
Upvote 1
Positive
Version: 3
Posted:
Amazing work! It greatly enhances the realism.
Upvote 1
Positive
Version: 3
Posted:
Wow, that's amazing! Each time you make a breakthrough, I wonder if the next time you can solve the issue of clothes and bodies colliding and penetrating each other? I'm really looking forward to it!
Upvote 0
Positive
Version: 3
Posted:
Game changer for shadow quality. Greatly improves face self shadows and close cloth shadows which were a major limitation.
Upvote 0
Positive
Version: 3
Posted:
Nice one. I had a script myself for the Near Clip Plane, but this one just replaced it.
Upvote 0
Back
Top Bottom