Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Disable raytracing shadow casting per object

Discussion in 'HDRP Ray Tracing' started by RoughSpaghetti3211, Jun 23, 2022.

  1. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,708
    Just wondering if there is a way to disable raytracing shadow casting per object. Thanks in advance for the help.
     
  2. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    766
    Sadly, no. It's per light only.
     
  3. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,708
    Thank you for the reply. Any way to completely ignore an object, deactivating it still produces a shadow.
     
  4. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    766
    I'm not sure sure what happens in your setup but disabling the renderer or the gameobject itself should kill the shadow.

    If this doesn't happen, you can report a bug using Help > Report a bug menu and drop the case number here :)