Search Unity

How batching works in LWRP?

Discussion in 'General Graphics' started by Koval331, May 24, 2019.

  1. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    106
    Does LWRP even support batching? If so, then does it work the same as in built-in pipeline? Same Material & Mesh in order to be batched?
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    911
    Yes
    There's an additional option called SRP Batcher. The regular static and dynamic batching are there and work identically to built-in, SRP Batcher batches based on shader, not material.
     
  3. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    106
    Thanks! But I have not found any info / tutorials about it. Can you give some links, please?

    And super newbie question. Do objects need to have the same mesh in order to be batched? I am asking because I have not found such condition in the docs strangely.
     
  4. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    911
  5. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    106
  6. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    911