Search Unity

Calling Lightmapping.BakeLightProbesOnly will also bake lightmap

Discussion in 'Global Illumination' started by ShuraK, Jul 29, 2015.

  1. ShuraK

    ShuraK

    Joined:
    Jan 15, 2015
    Posts:
    23
    before unity5, we can bake light probes by clicking "bake light probes" in the lightmapping window.

    in unity5, the button is gone. There's only lightmapping.BakeLightProbesOnly() in the editor script functions. but calling this function will bakes both lightmap and probes.

    any solution to bake light probes without baking lightmaps ? or any plan to fix this bug ?

    thx
     
    Last edited: Jul 29, 2015
  2. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    Oops, looks like you are right. Now that we know, we can fix this.

    Thanks for reporting this.
     
  3. Justafin

    Justafin

    Joined:
    Aug 6, 2012
    Posts:
    30
    Any word on when or if this fix has made its way into a build?
     
  4. essimoon2

    essimoon2

    Joined:
    Nov 13, 2013
    Posts:
    195
    oh nice, didn't know that but it sounds super useful! :O
    Would love to know anything new about this fix, too.