Search Unity

Material / shader with no shadow casing

Discussion in 'High Definition Render Pipeline' started by reddotgames, May 19, 2020.

  1. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    707
    Hello

    Is is possible for HDRP Lit material / shader to not cast shadows? When 2019 launched we search for it, and it was impossible to set shader or material to not cast shadows.
     
  2. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
    Hi, if you talk about not receiving shadow (i.E the receive shadow option on mesh renderer), then it is not supported.
    Otherwise we only support to not casting a shadow for an object, but not for a material. On mesh renderer there is an option to not cast shadow.
     
  3. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    707
    Hello

    Yes we know that we can disable shadow casting on mesh renderer. We was just wondering if it is possible via material or shader.