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
Top Bottom