Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How batching works in LWRP?

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

  1. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    114
    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:
    2,983
    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:
    114
    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:
    2,983
  5. Koval331

    Koval331

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

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983