Search Unity

HDRP invisible mesh receive shadow

Discussion in 'High Definition Render Pipeline' started by swerit, Jun 1, 2022.

  1. swerit

    swerit

    Joined:
    Apr 11, 2015
    Posts:
    6
    I want to create such a material in HDRP:it can receive shadows from other objects, but it will not render its own mesh, how should I implement it ?

    upload_2022-6-1_17-53-37.png

    Like:

    (I don't know how to write shaders, please help me)
     
  2. EricFFG

    EricFFG

    Joined:
    May 10, 2021
    Posts:
    183
    Try light layers maybe
     
  3. Ruchir

    Ruchir

    Joined:
    May 26, 2015
    Posts:
    934
    PutridEx and swerit like this.
  4. swerit

    swerit

    Joined:
    Apr 11, 2015
    Posts:
    6
    Ruchir likes this.
  5. swerit

    swerit

    Joined:
    Apr 11, 2015
    Posts:
    6

    Attached Files: