Search Unity

Question API for creating a distributed bake system?

Discussion in 'Global Illumination' started by YuriyPopov, Jan 8, 2021.

  1. YuriyPopov

    YuriyPopov

    Joined:
    Sep 5, 2017
    Posts:
    237
    I wanted to speed up bake times by utilizing all of our machines, but looking at the lightmap API there is no way to get the data associated with a bake job, there is just a way to start a bake job. Has anyone tried to do this before? One solution I'm thinking of is somehow "smartly" splitting up the scene into multiple scene that then get send to be baked on worker machines, but I feel like this would lead to seams and overall buggy lightmaps.
     
    Toonas likes this.
  2. ADufay

    ADufay

    Unity Technologies

    Joined:
    Jan 2, 2020
    Posts:
    30
    Hello, yes you are right the lightmapper doesn't support baking across multiple machine unfortunately.
    The solution you proposed by splitting up the scene can work indeed but yes it would require some extra work.