Search Unity

HDRP Help Needed - How To Depth-clip HDRP shaders

Discussion in 'Shaders' started by dbillings_thehalseygroupllc, Aug 8, 2019.

  1. dbillings_thehalseygroupllc

    dbillings_thehalseygroupllc

    Joined:
    Feb 15, 2016
    Posts:
    23
  2. seymourpowell

    seymourpowell

    Joined:
    Oct 14, 2015
    Posts:
    1
  3. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,352
    Custom written shaders do work for HDRP, if they're written for the HDRP. The problem is writing custom shaders for the HDRP is a non-trivial task as the shaders are significantly more complex than the built in rendering paths or the LWRP/URP shaders.

    Luckily you should be able to do a cross section shader using Shader Graph. It does take a bit of math knowledge to accomplish depending on what exactly you're looking to do, but you might get better luck posting in the Shader Graph sub forum.
     
  4. Coopz

    Coopz

    Joined:
    Apr 5, 2019
    Posts:
    5
    Did anyone find a solution for this.

    I'm looking for the same thing but can't seem to find any help for it. All the shaders I have found all don't work with HDRP. I've looked into Shader Graph but, honestly I have no idea what I'm doing with it.