Search Unity

draw by PerObjectLightIndices8 cause disable gpu instance

Discussion in 'Shaders' started by akilar1002, Oct 12, 2018.

  1. akilar1002

    akilar1002

    Joined:
    Jul 18, 2016
    Posts:
    70
    I tried to develop my own SRP. I am currently using PerObjectLightIndices8 to draw objects, which will cause the GPU instancing to fail. If I want to draw a lot of grass and want to be affected by multi lights, there is no way to use GPU instancing.

    What should I do?