Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

How to use LightBakingOutput, MixedLightingMode

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

  1. Arycama


    May 25, 2014
    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


    Unity Technologies

    Jul 12, 2016