Search Unity

Question Shader with Alpha Transparency and GPU instancing enabled does not render

Discussion in 'Shader Graph' started by frances_farmer, Jan 6, 2020.

  1. frances_farmer

    frances_farmer

    Joined:
    Aug 29, 2019
    Posts:
    11
    I'm having an issue where if I create a shader using the HDRP shader graph that supports GPU instancing and alpha transparency, any objects that use that shader do not render unless I disable transparency.

    Obviously the transparency works fine if I turn GPU instancing off also. Is there an issue with GPU instancing and alpha transparency in the current version of the HDRP shader graph or am I misunderstanding something?
     
  2. cewsuk

    cewsuk

    Joined:
    Oct 9, 2018
    Posts:
    2
  3. mrc_akka

    mrc_akka

    Joined:
    Mar 26, 2020
    Posts:
    20
    Same problem, can't get DrawMeshInstanced working with transparent lit hdrp material (with gpu instancing checked), working with opaque.
     
  4. fl4ke

    fl4ke

    Joined:
    Mar 9, 2016
    Posts:
    1
    Same problem here.
     
  5. nijnstein

    nijnstein

    Joined:
    Feb 6, 2021
    Posts:
    78
    anyone? same problem in 2021.1.7f1, opaque renders, transparent doesnt