Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

How to use LightBakingOutput, MixedLightingMode

Discussion in '2017.3 Beta' started by Arycama, Dec 11, 2017.

  1. Arycama

    Arycama

    Joined:
    May 25, 2014
    Posts:
    185
    I have noticed the LightBakingOutput struct, and it's mixedLightingMode property and the MixedLightingMode enum. I'm hoping this might be a step towards enabling switching baked lighting modes from script. (And possibly at runtime?)

    Is there any way to use this in the current beta? I'm looking into ways to switch lightmapping modes per platform at build time, or possibly at runtime depending on graphics settings. (So the project would have baked subtractive and shadowmask maps included, and be able to switch them on the fly)

    Thanks for any info.
     
  2. kemalakay

    kemalakay

    Unity Technologies

    Joined:
    Jul 12, 2016
    Posts:
    224