Light Options

Plugins Light Options

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
Author
Stopper
Downloads
297,323
Views
297,323
Favorites
4
Packages
1
Total Size
0.01 MB
Version
5
First release
Last update
Rating
5.00 star(s) 18 ratings

More resources from Stopper

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

This is absolutely invaluable thanks so much! Have you considered implementing a toggle for light source reflections? if even possible
Upvote 0
Your plugin changed and renewed my screenshots sessions so much, thank you for this amazing gift to the community !
Upvote 0
This probably has been asked but where can I get the model? Thanks and great plugin ofc
Upvote 0
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
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
Amazing work! It greatly enhances the realism.
Upvote 1
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
Game changer for shadow quality. Greatly improves face self shadows and close cloth shadows which were a major limitation.
Upvote 0
Nice one. I had a script myself for the Near Clip Plane, but this one just replaced it.
Upvote 0
Shadow artifacts were a major weakness. you are a genius!
Upvote 0
Back
Top Bottom