Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Enlighten Lightmapping Settings API

Discussion in 'Global Illumination' started by Kragh, Aug 12, 2015.

  1. Kragh

    Kragh

    Joined:
    Jan 22, 2008
    Posts:
    656
    I am... so tired. I need to change LightmappingSettings from a tool I'm making, and it seems I have control over the following six values:

    aoMaxDistance
    maxAtlasHeight
    maxAtlasWidth
    padding
    resolution
    textureCompression

    What an abritary amount of possibilities...
    If you are in the process of making the API, why not make it complete? Why do I see this more and more? Originally in Unity, if you saw a value, you could access it from scripting. What an easy concept to understand for a developer in the Unity editor. Now it feels completely random.
    Why is the API less and less consistent with this original philosophy?

    -And does anybody know of a way to actually change ALL settings for Enlighten? Do I completely miss how to access the system?