Search Unity

GPU Instancing all Material Black

Discussion in 'General Graphics' started by EdithLin, Mar 17, 2018.

  1. EdithLin

    EdithLin

    Joined:
    Mar 8, 2018
    Posts:
    2
    I create a quad mesh and call Graphics.DrawMeshInstanced() draw tree leaves. The material is transparent and the shape of leaves is correct but all color is gone. The bottom leaf mesh is draw by Graphics.DrawMesh() with the same material and mesh. I test other material and enable GPU Instancing. I am new to Unity and any hint would be appreciated. Screen Shot 2018-03-18 at 00.49.16.png Screen Shot 2018-03-18 at 00.49.16.png
     
  2. EdithLin

    EdithLin

    Joined:
    Mar 8, 2018
    Posts:
    2
    Problem solved. I set the wrong scale._:)з」∠)_