Search Unity

HDRP Decals and Shadergraph

Discussion in 'General Graphics' started by bonickhausen, Dec 24, 2018.

  1. bonickhausen

    bonickhausen

    Joined:
    Jan 20, 2014
    Posts:
    115
    Hi!

    My game is using the High Definition Rendering Pipeline (HDRP).

    I made a very simple shadergraph shader (single albedo texture multiplied by a colour), however it does not receive decals. HDRP's standard material receives decals just fine.

    What am I doing wrong?
     
    Necronomicron likes this.
  2. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Shader graph is only available for LWRP atm.
     
  3. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    Decals on shadegraph HDRP materials should work atm. Maybe check if you're using the latest HDRP package, and that your shadegraph material has decals enabled :
    upload_2018-12-26_11-8-31.png

    Note that the PBR master doesn't have this checkbox, so I suggest using the Lit master node.
     
    Necronomicron and xVergilx like this.
  4. Gapper_Games

    Gapper_Games

    Joined:
    Jun 18, 2019
    Posts:
    1
    transparent materials cant receive decals, don't know why.