Search Unity

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:
    161
    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,901
    dccoo likes this.