Search Unity

Example Surface shaders to use with Graphics.DrawMeshInstancedIndirect?

Discussion in 'General Graphics' started by MikeUpchat, Oct 6, 2021.

  1. MikeUpchat

    MikeUpchat

    Joined:
    Sep 24, 2010
    Posts:
    1,056
    Are there any example shaders that show how to have a surface lit shader work with Graphics.DrawMeshInstancedIndirect? I have a simple example for an unlit fragment shader but would like to see an example of say the basic surface shader for the builtin pipeline.
     
    DragonCoder likes this.