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.

Question Culling mask for GPU instanced mesh?

Discussion in 'General Graphics' started by dccoo, Oct 28, 2022.

  1. dccoo

    dccoo

    Joined:
    Oct 3, 2015
    Posts:
    157
    My game has 2 cameras. I'm instancing a bunch of grass and I want the second camera to not render the grass. How can I do this?
    The grass is created via DrawMeshInstancedIndirect.
     
  2. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,694
    dccoo likes this.