Search Unity

Feature Request Turn off "Receive shadows" on custom PBR graph [LWRP]

Discussion in 'Shader Graph' started by WendelinReich, Apr 8, 2019.

  1. WendelinReich

    WendelinReich

    Joined:
    Dec 22, 2011
    Posts:
    216
    Hi, standard LWRP "Lit" and "Simple Lit" shaders have a checkmark for turning off "Receive shadows" (see below. There needs to be something similar for custom lit graphs.

    upload_2019-4-8_11-3-51.png

    Also, as of 2019.1 (I'm using b8), the MeshRenderer component doesn't have a checkbox for "Receive shadows" anymore, so right now (as a mobile dev) I'm pretty stuck...

    upload_2019-4-8_11-2-44.png
     
    patrickdown likes this.
  2. Kink3d

    Kink3d

    Unity Technologies

    Joined:
    Nov 16, 2015
    Posts:
    45
    Hi,

    This has been on our radar for some time now. Hopefully we will get to implementing this soon (it was/is dependent on some refactor work that is currently going on).
     
    patrickdown and WendelinReich like this.
  3. WendelinReich

    WendelinReich

    Joined:
    Dec 22, 2011
    Posts:
    216
    That's good to know. It would be great if you could treat this as a bug or somehow prioritize it, because it makes shadows on performance-sensitive devices unusable ATM (turning off shadows altogether seems to be the only way to avoid the performance penalty of having too many unwanted shadow receivers)...
     
    pauliusuza likes this.
  4. WendelinReich

    WendelinReich

    Joined:
    Dec 22, 2011
    Posts:
    216
    Hi @Kink3d, any ETA on this one?
     
    ZhavShaw likes this.
  5. Knipscher

    Knipscher

    Joined:
    Jun 20, 2018
    Posts:
    52
    Hi I'm also very interested in this but especially for the HDRP! I have a feature in my current project that absolutely depends on it (especially implementable for only front- or back-facing, so turning it off on the mesh renderer won't help). I don't really speak HLSL so I'd rather not have to write a custom node for it if it's going to be on the horizon within the next couple months -- @Kink3d is there an ETA? Thanks!
     
    WendelinReich likes this.
  6. jessemoreland0

    jessemoreland0

    Joined:
    Apr 10, 2018
    Posts:
    1
    I also need this functionality.
     
    WendelinReich likes this.
  7. tarahugger

    tarahugger

    Joined:
    Jul 18, 2014
    Posts:
    101
    I need it too.
     
    WendelinReich likes this.
  8. Jeffrey-Lee

    Jeffrey-Lee

    Joined:
    Nov 8, 2012
    Posts:
    1
  9. WendelinReich

    WendelinReich

    Joined:
    Dec 22, 2011
    Posts:
    216
    I think this thread should get a response from a Unity employee...